Question
2
Replies
126
Views
Virtusa
Posted: August 16, 2019
Last activity: November 18, 2019
Closed
DateTime Conversion
How do we convert below date time to pega format ? Is there any OOTB function ? Parse XML rule does this conversion when we give XSD base Type as dateTime , but if we are not using parse XML (say we using JSON) then how we convert it ?
ex: 2019-08-04T00:00:00-05:00
Look at
ISO_OFFSET_DATE_TIME
for DateTimeFormatterThe Background Processing exercise in the LSA course contains an example of how it can be used.