Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Convert ISO UTC date.time to Local timezone

James T
Tera Contributor

i have an ISO date 2020-09-15T04:52:16.833Z in a Script step in Action Designer, how can apply the system timezone to the value and convert to dd/mm/yy hh:mm format.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi James,

refer below links for help

How to convert iso date string (2015-11-18T20:00:00Z) to local time

How to Transform ISO8601 date (yyyy-MM-ddTHH:mm:ssZ) to a date field in a Transform map

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

2 REPLIES 2

Indrajit
Mega Guru

Ankur Bawiskar
Tera Patron
Tera Patron

Hi James,

refer below links for help

How to convert iso date string (2015-11-18T20:00:00Z) to local time

How to Transform ISO8601 date (yyyy-MM-ddTHH:mm:ssZ) to a date field in a Transform map

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader