Namrata Khabale
Giga Guru

Hey David,

You can also  try this:

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

var tz = gs.getSession().getTimeZone();
var gdt = new GlideDateTime();
gdt.setTZ(tz);

Here are the same threads that you looking for it might helps you:

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

 

https://community.servicenow.com/community?id=community_question&sys_id=5e51172ddbdcdbc01dcaf3231f96...

 

Kindly Mark Correct if this solves your issue and also mark  Helpful if you find my response worthy!

 

 

Best Regards,

Namrata