Friday 16 June 2023

How to convert GMT datetime value to EST datetime value in Pega

 Hi Friends, In this post, we will see how to convert a data time value in GMT to EST.


Assume I have a data time field named InputDateTime, In this field, the value is like 



Now I want to convert the date value from GMT to the corresponding EST value,  we can use the expression below to convert the GMT to EST.


@FormatDateTime(.InputDateTime,"","","en_US")


Output value is like below:







No comments:

Post a Comment