Question

1
Replies
634
Views
SORENTARA Member since 2014 27 posts
Cognizant Technology Solutions
Posted: February 21, 2019
Last activity: February 24, 2019
Closed

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***

Low-Code App Development Reporting
Moderation Team has archived post
Share this page LinkedIn