- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2020 05:18 AM
hi,
When i pull the updated on date i am getting in GMT time zone can anyone please help me how to convert that to local user time zone
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2020 11:59 PM
you should use getDisplayValueInternal() method.
Note: it will return date and time values for the GlideDateTime object in the current user's time zone
doc link for further details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2020 05:21 AM
Hi Shaik,
if you are in server side script; and want to get time in local user time zone then use
this would return value in user timezone
gr.<field>.getDisplayValue();
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2020 11:38 PM
On the incident record updated on field gives me the time in GMT time zone whcih i want to convert into user time zone like if the user is in PST or IST or EST based on his/her profile time zone set i want to display the date time
Please advice

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2020 11:59 PM
you should use getDisplayValueInternal() method.
Note: it will return date and time values for the GlideDateTime object in the current user's time zone
doc link for further details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2020 12:26 AM
Hi Shaik,
Can you tell where you want to show this? is it on some info message on form?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader