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 Time into Zulu Format

Community Alums
Not applicable

Hi Team,

 

I want time in Zulu format, eg. 2022-05-31T07:34:45.968Z.

 

Can you please tell me if there's a function to implement it?

 

Thanks and Regards,

Hrithik Nirupam

 

 

7 REPLIES 7

Sohail Khilji
Kilo Patron

Hi @Community Alums ,

 

Directly zulu is not supported i guess, you may need to use clientscript to override the default time and convert in needed format.

 

I hope this info helps..


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

Community Alums
Not applicable

Hi @Sohail Khilji ,

 

Yeah I think there's no other option than using a script without any OOB functionality to generate that format. Can you please help me with that?

 

Thanks,

Hrithik

Hi @Community Alums ,

 

You will need to create a script include with zulutimeutils(); and a method that can convert any time into a zulu time.

 

 


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect