Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2019 07:26 AM
Hello Nivedita,
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);
Please mark as Correct Answer and Helpful, if applicable.
Thanks!
Abhishek Gardade
Hexaware Technologies
Thank you,
Abhishek Gardade
Abhishek Gardade