Quote:
Originally Posted by ownedbycats
Thanks. Will set on local timezone, or UTC?
|
It is local time (actually, time naive). Example:
Code:
program:
d = "20250421T13:42:01";
'The date and time are ' & format_date(d, "iso")
produces the following, which is British Summer Time (+1) not UTC.
Code:
The date and time are 2025-04-21T13:42:01+01:00
This date specifies UTC.
Code:
program:
d = "20250421T13:42:01Z";
'The date and time are ' & format_date(d, "iso")
and returns a time one hour later (UTC).
Code:
The date and time are 2025-04-21T14:42:01+01:00