Question
How to covert datetime in EST
Hi,
I have two properties which contains date and time when I'm mapping as mentioned below,output is showing back date time.
Below is my mapping:
@(Pega-RULES:DateTime).FormatDateTime((TempWorkPage.dtm_date+ "T" + TempWorkPage.dtm_time + "00.000 GMT"), "YYYYMMDDHHMM",en_SG, EST")
Here Suppose input date is 8 April 2019 and Time is 12.00.00 AM then output is showing as: 20190407T160000.000 GMT.
My requirement is to display :20190408T000000.000 GMT
Regards,
SorenTara
***Edited by Moderator: Pallavi to update platform capability tags***
Hi,
Looks to be your requirement is same as below posts requirement. These will help you.
https://community1.pega.com/community/product-support/question/conversion-datetimecurrentdatetime
https://community1.pega.com/community/product-support/question/display-date-time-est-time-zone-ui-02-mar-2018-0753-am