News for hackers. Stuff that matters.
Re:Ask HN: Why is a Unix timestamp not a “valid date string”... by forgotmypw17 on Wednesday April 21, 2021 @02:04AM (#26885917)
I don't think this is true, because epoch time does not have a timezone, because 0 already corresponds to a certain timezone. Although epoch time isn't exactly "just UTC", as explained in the very interesting StackOverflow question below, it is close enough, and it does not change with the timezone.

https://stackoverflow.com/questions/23062515/do-unix-timesta...

Re:Ask HN: Why is a Unix timestamp not a “valid date string”... by zoshi on Wednesday April 21, 2021 @04:41AM (#26886875)
A timezone can’t be encoded with a Unix time stamp, or a date without a time, or just a time. Unix timestamps ignore leap seconds and treat days as 86400 seconds, so it doesn’t correspond directly to UTC. And they aren’t readable by humans. There are many reasons Unix timestamps aren’t appropriate for encoding a date and time.