4 ms·
"False. The UNIX epoch is January 1, 1970 in UTC, but is Dec 31, 1969 in Los Angeles." This isn't specific to Los Angeles, right? It's just referring to the fa
by nneonneo 8y ago
"False. The UNIX epoch is January 1, 1970 in UTC, but is Dec 31, 1969 in Los Angeles."
This isn't specific to Los Angeles, right? It's just referring to the fact that anyone with a negative UTC offset would see an epoch date of Dec 31, 1969 in their local time (I hope).
- Eduard 8y agoTrue.
- pm215 8y agoOne related wrinkle that can catch out UK people (who tend to conflate local non-summer-time with UTC) is that the epoch is not midnight 1 Jan 1970 in UK time -- we were in the middle of a "UK time is GMT+1 all year round" experiment in 1970...
- Tor3 8y agoHm. No. The UNIX epoch is in UTC, so it's always January 1, 1970. The tick (at this moment: 1537511644) is always relative to January 1, 1970. The timezone (TZ) only comes into it when that epoch time is translated to a local time with 'date' and other tools.
- ProblemFactory 8y agoYes. This reminds me of an anecdote from a talk on timezones. Shortly after Stephen Hawking died, the the Google search snippet for "When did Stephen Hawking die" said "Tomorrow" for people in the US. It was pulling the date from Wikipedia, but it was still the previous day in the US.