notification field opened
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2024 01:43 AM
Hi!
How do I remove the end from the opend field PDT? I marked it in the next picture in red , I need the opend field in the notification and it just makes the time and date correct for me, but in the end it says PDT and I have to download it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2024 02:28 AM
Hi,
Have you tried Notification Email Scripts to populate the date/time format as required? If not please refer to the below example.
Create a mail script as below, this will remove the timezone that is coming.
var gdt = new GlideDateTime(current.opened_at);
template.print('Opened: ' + gdt.getDisplayValue());
Please mark this as correct/helpful, if it resolves your issue.
Thanks & Regards,
Suheb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2024 02:40 AM
not work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2024 04:22 AM
Could you please check 'glide.sys.time_format' value it should be HH:mm:ss
Refer - https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0724200
https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/administer/time/referen...
Thanks & Regards,
Suheb
