Unix Day 20,000!
Tonight at midnight GMT, we'll have completed 20,000 days of Unix time!
❯ perl -MTime::Piece -E '$t = gmtime 60 * 60 * 24 * 20_000; say $t->datetime'
2024-10-04T00:00:00
That's eight o'clock tonight for me.
❯ perl -MTime::Piece -E '$t = localtime 60 * 60 * 24 * 20_000; say $t->datetime'
2024-10-03T20:00:00
That got me to wondering when 25,000 days was.
❯ perl -MTime::Piece -E '$t = gmtime 60 * 60 * 24 * 25_000; say $t->datetime'
2038-06-13T00:00:00
Oh, oh. June 2038. Things might be a little messed up then. The 32-bit time_t
is going to roll over the previous January.
❯ perl -MTime::Piece -E '$t = gmtime 2**31 - 1; say $t->datetime'
2038-01-19T03:14:07
I always said I wanted to retire by December 2037 for this reason. Then I retired early because of my job's return-to-office policy. Since I haven't managed to find another job that suits me, I guess I hit my retirement goal— with about 5,000 days to spare!