Incorrect Date and Time being returned by getLocalDate and getLocalTime
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2024 01:08 AM
Hi all,
We have a bit of a peculiar one with dates being passed through to an email from a Change record.
Not on every record, but some are not presenting dates as they should be, to show Start & End times of the change.
The Result :
The process :
UI Action on Form...Drops Event...Triggers Notification...Mail Template...Mail Script...etc.
The Event (parm2 in JSON) has :
This is expected as we are BST
The Mail Script extracts the date, and passes it to a function to get the Local Date and Time, which should change this back to 01:00 & 06:00 as it does with many other emails. However some are returning incorrect dates as shown above.
I know this looks very like a PDT issue with the 8 hour gap but we have checked the "Users\System" time zone and all are set to "Europe\London"
Any ideas ? Oh, we have also just upgraded to Washington from Utah.
Regards, Craig.
- Labels:
-
Change Management