We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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

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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

2 REPLIES 2

Indrajit
Mega Guru

Ankur Bawiskar
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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader