Question Krishnaveni Kapu · Jun 6, 2024

DateTime from yyyy-mm-dd hh:mm:ss.000 to ISO 8601 UTC

I receive a time stamp as  = 1988-08-18 00:00:00.000
I need this to be converted as - 1988-08-18T00:00:00+01:00

Comments

Enrico Parisi · Jun 6, 2024

It depends on your timezone, well...the timezone configured in the IRIS system! 😊

Does the trailing +01:00 represent your timezone? Or what?

I'm in a UTC+2 timezone, so:

USER>w $zdt($zdth("1988-08-18 00:00:00.000",3),3,5,2)
1988-08-18T00:00:00.00+02:00
0