|
|
|
|
|
by zokier
949 days ago
|
|
> Unix time is the number of seconds since Jan 1, 1970 00:00:00 UTC. This number never goes back or forward, it's simply the number of Mississippis you would have counted if you started Jan 1, 1970 at 00:00:00 UTC. Wrong. UNIX time is number of days since epoch × 86400 + seconds since beginning of day. In real world some days have been actually 86401 seconds long, which means that UNIX timestamp is (currently) 37 less than number of seconds since epoch. |
|
You'll also need to correct it in the time(2) man page, which says:
"number of seconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC)." (ubuntu 22.04)
https://en.wikipedia.org/wiki/Unix_time