Question
2
Replies
10157
Views
Perseus
Posted: August 18, 2016
Last activity: September 1, 2016
Closed
Solved
getCurrentTimeStamp() method provides GMT time , how to get EST time ?
getCurrentTimeStamp() method provides GMT time , how to get EST time ?
Pega version 7.1.6
Use the FormatDateTime function to get the appropriate date by passing the required timezone as a parameter.
E.g. @(Pega-RULES:DateTime).FormatDateTime(@(Pega-RULES:DateTime).getCurrentTimeStamp,"MM/dd/yyyy hh:mm:ss a", "EST", "en_US")
Regards
Patrick