Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

How to remove GMT after date & time on notification

Nagarjuna Redd2
Tera Contributor

Hi All,

i have two "Date/Time" fields (EST time) on Catalog Item. when i try to call those variables on Notification Through Email script the format is as below

Start Date/Time: 2019-12-25 06:59:29 GMT

End Date/Time: 2019-12-26 06:59:31 GMT

here time time represents EST time but it is showing as GMT as servicenow having default GMT timezone.

can any one suggest how can i achieve 2019-12-25 06:59:29 EST instead of 2019-12-25 06:59:29 GMT.

Thanks,

Nagarjuna

6 REPLIES 6

Hi

I'm able to bring all fields existed on catalog item but among those particularly how can I change GMT to EST for date fields.

if you already know the fields, then you can simply add the condition (as provided above by Manas) before printing that field name and replace GMT with EST.

Mark the comment as a correct answer and helpful if it helps.