The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: "Michael Kjörling" <michael@kjorling.se>
To: tuhs@tuhs.org
Subject: Re: [TUHS] Three-quarters to the next Epoch
Date: Sun, 24 Jan 2021 11:28:05 +0000	[thread overview]
Message-ID: <76f0ffc9-a5d7-471c-9bac-84d5427892b3@localhost> (raw)
In-Reply-To: <YA0JThfLwsOetEie@alice>

On 23 Jan 2021 21:44 -0800, from ality@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@kjorling.se
 “Remember when, on the Internet, nobody cared that you were a dog?”


  reply	other threads:[~2021-01-24 11:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-23 21:46 Dave Horsfall
     [not found] ` <alpine.BSF.2.21.9999.2101240837350.36435@aneurin.horsfall. org>
2021-01-24  3:57   ` John Foust
2021-01-24  5:44     ` Anthony Martin
2021-01-24 11:28       ` Michael Kjörling [this message]
2021-01-24 12:21         ` Steve Nickolas
2021-01-26 15:17       ` Dario Niedermann
2021-01-26 22:40         ` Dan Cross
2021-01-26 22:43         ` Steffen Nurpmeso
2021-01-26 23:18           ` Richard Salz
2021-01-26 23:49             ` John Floren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=76f0ffc9-a5d7-471c-9bac-84d5427892b3@localhost \
    --to=michael@kjorling.se \
    --cc=tuhs@tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).