Time zone in emails is not correct

nguynnhthi
Tera Contributor

Hello all,

The email notifications sent by my instance are having GMT as time zone instead of the local time zone. When I open the preview notification in the notification record it shows the local time zone. However, in the preview email in the email log and in the actual email sent out, it shows the GMT time zone. What could have been the problem?

Thanks,
Thi

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

system internally stores in GMT and hence when system picks the date/time in email body it shows in GMT

to show in local time you need to use email script and then use getDisplayValue() on date/time field

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

system internally stores in GMT and hence when system picks the date/time in email body it shows in GMT

to show in local time you need to use email script and then use getDisplayValue() on date/time field

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader