4 ms·
That’s not taking time zones into consideration, so might be off by an arbitrary amount of hours/minutes.
by bouke 7y ago
That’s not taking time zones into consideration, so might be off by an arbitrary amount of hours/minutes.
- ggm 7y agoObviously you would set TZ before up-converting. I spoke in UTC about an input time I specified in UTC. POSIX date time models understand timezones and on well configured systems understand prior states of time zone behaviours at boundaries like summertime into historical past states. The 1990s USENET discussions did at one point veer off into rotational speed of the earth MYA ago, I'm not sure many people cared but astronomers maybe have to. (I don't think dinosoars used summertime)
- bouke 7y agoHistorically correct timezone handling is one thing, but you also have to consider future timezone changes unknown at this time. For example some EU countries might decide to cancel daylight savings. Now your conversion from UTC is off by an hour.