Quote:
> Unix time, or POSIX time, is a system for describing instants in time, defined as the number of seconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970
Quote:
> Unix time, or POSIX time, is a system for describing instants in time, defined as the number of seconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970
That said, the exception for local time, at least in my opinion, is agreeing on dates in the future meant for human interaction (e.g. "I'll meet you at 7 AM local time in Time Square on the 3rd of April 2068"). Here time zone rules may actually change before the date transpires, and you can't be sure of the representation in any other zone or format until closer to the event.
Local time is a weird thing and changes all the time.
For giggles, look at the history of timezone rule changes in tzdata.
Most timezones have at least one duplicate hour per year (IE the same time occurs twice) in the US as well.
Local times are not an appropriate way to store time.
Note: ISO8601 does not give you local time anyway, since you cannot infer the timezone from the time offset.
That you cannot infer the timezone from the time offset in ISO 8601 is a good point though.
Or at the very least, preserving the time offset.