is there a way i know what timezone it is in 2023-...
# cfml-general
g
is there a way i know what timezone it is in 2023-05-15 010000.0 want to show it like this for outlook "dateTime": "2017-04-15T140000", "timeZone": "Pacific Standard Time" trying to figure out anything which converts this time to utc and that actually tells me if this is in PST or EST
s
The time stamp by itself does not indicate the time zone but I believe you can get the time zone of the server using getTimeZone(). You can also convert from server time zone to UTC using dateConvert(), then maybe store everything like: "dateTime": "2017-04-15T200000", "timeZone": "Universal Coordinated Time"
👍 1