Closed
Solved
Converting DateTime to String in a activity
Hi Guys,
How to convert DateTime to String in a activity?
thanks,
Rosy
***Updated by moderator: Lochan to update Categories***
Hi,
You can use FormatDateTime function in the DateTime library.
for example:
@(Pega-RULES:DateTime).FormatDateTime("20120606T162504.370 GMT", "dd/MM/yyyy HH:mm a", .pyTimeZone, null)
@FormatDateTime(pyNewFileAttachment.pxCreateDateTime, "YYYYMMDD", null, null)