Question

1
Replies
833
Views
M Soren (SORENTARA)
Cognizant Technology Solutions

Cognizant Technology Solutions
IN
SORENTARA Member since 2014 28 posts
Cognizant Technology Solutions
Posted: February 21, 2019
Last activity: February 24, 2019
Posted: 21 Feb 2019 5:06 EST
Last activity: 24 Feb 2019 6:47 EST
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, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.