How to convert GMT Date/Time format into IST Format?

David156
Giga Contributor

How to convert GMT Date/Time format into IST Format?

 

6 REPLIES 6

Vishakha
Mega Guru

Hi David,

If you want to set IST format for your system then follow below steps:

1)Click on System Administrator-->Profile

find_real_file.png

2)In Time Zone filed you can select required Time Zone.

find_real_file.png

 

If it helps then please mark my answer Correct and Helpful.

Vishakha

Megha Padale
Giga Guru

Hi David,

You can use setTZ method Which set timezone of GlideTimeZone.

https://medium.com/@mrigank2017/working-with-dates-in-servicenow-e5d29d5b3358

setTZ(TimeZone timeZone)
Sets the time zone of the GlideDateTime object to be the specified time zone.

Refer this link, it definitely help you:

https://community.servicenow.com/community?id=community_question&sys_id=2f2fb4651bb48810fff162c4bd4b...

If my answer helped you in anyway, mark answer as helpful and correct.

Thanks and regards,

Megha.