[TUHS] Three-quarters to the next Epoch
Michael Kjörling
michael at kjorling.se
Sun Jan 24 21:28:05 AEST 2021
On 23 Jan 2021 21:44 -0800, from ality at pbrane.org (Anthony Martin):
>> That was January 14, 2021, right?
>
> % for(i in `{seq 0 2 8}) date -u 0x$i^0000000
> Thu Jan 1 00:00:00 GMT 1970
> Mon Jan 5 18:48:32 GMT 1987
> Sat Jan 10 13:37:04 GMT 2004
> Thu Jan 14 08:25:36 GMT 2021
> Tue Jan 19 03:14:08 GMT 2038
> %
GNU date would appear to agree:
$ date --utc --date=@$(printf '%d' 0x60000000)
Thu 14 Jan 2021 08:25:36 UTC
$
(At least the version I've got handy doesn't seem to like a hex
seconds-since-epoch timestamp, so a separate conversion to decimal is
required in that case.)
--
Michael Kjörling • https://michael.kjorling.se • michael at kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”
More information about the TUHS
mailing list