Question
1
Replies
593
Views
Anthem
Posted: May 22, 2019
Last activity: May 23, 2019
Closed
Pega Date Time Format to ISO 8601 DateTime format
Is there any function to convert Pega date time Format to ISO 8601 DateTime format
***Edited by Moderator: Lochan to update platform capability tags***
Can you try FormatDateTime OOTB funtion
FormatDateTime(strDateTime,strPattern,strTimeZone,strLocale) - This Formats/Reformats a DateTime string using the specified parameters.
FormatDateTime can be used to convert a Pega date to an ISO-8601 formatted date.
In the parameters, if you don't mention strPattern it will give you the default Pega standard pattern, otherwise you can give the format as per your requirement.