Copy link to clipboard
Copied
Copy link to clipboard
Copied
No it doesn't.
Thanks.
Copy link to clipboard
Copied
Weird.
You and I have both reported bugs related to this issue:
https://tracker.adobe.com/#/view/CF-4212860
https://tracker.adobe.com/#/view/CF-4212875
I am curious to see how it all pans out.
Copy link to clipboard
Copied
tclaremont basically has answered why the error happens (substitute the values of date, time & timezone to whatever the case you're seeing the error for, the reason is the same):
That date and time is precisely when daylight savings time occurs for the EST time zone in North America. At 2:00 AM it will become 3:00 AM, and therefore 2:00 AM does not exist on 3/8/2009.
A work-around is not to use createDateTime(), if you get error for:
createdatetime(2022,03,13,2,0,0)
Try using parseDateTime():
parseDateTime("2022-03-13 2:00:00am")
Note about this work-around: