Date and time to Pega TimeStamp
Is there a way to convert a particular date and time in server time zone to Pega DateTimeStamp.
Example: I would like to convert 20th Dec 2019 9AM EST to Pega TimeStamp which is in the format 'yyyyMMddThhmmss.SSS GMT'.
Appreciate the quick help.
-
Like (0)
-

Hi,
You can use FormatDateTime
https://community.pega.com/sites/default/files/help_v73/concepts/concepts2/conceptsdatetime.htm

Thanks for good concepts but it says there isnt a way to do so

Hi @SANTOSH,
Could you please check the Activity pzPopulateDefaultDateTimeFormats step 5& 6 which is taking the input from CSV and converting to pega datetime format.
This might help you, need to write custom code to achieve this requirement.
Thanks,
Gopi

Sorry Gopi but I could not find pzPopulateDefaultDateTimeFormats on 7.3 Pega platform. Is it got added in later version of Pega.