Support Article
Mapping UTC dates fails in REST
SA-39011
Summary
Mapping a Coordinated Universal Time (UTC) formatted date from a REST connector to a datetime property fails with the error.
Error Messages
String "1970-01-01T09:31:07.000Z" is not a date time
Steps to Reproduce
- Create Connect-REST.
- Call a service which returns a UTC date value in JSON format.
- Try to map the UTC date value to a datetime property value.
Root Cause
A defect in Pegasystems’ code or rules
Pega is not converting UTC format dates to GMT format when invoking Connect-REST.
Resolution
Apply HFix-34179.
Published July 14, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.