[LEAPSECS] EBML: yet another date format?

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Jun 29 02:29:49 EDT 2015


--------
In message <20150629061957.AAFC4406061 at ip-64-139-1-69.sjc.megapath.net>, Hal Mu
rray writes:
>> Looks to me they mean 128 bits?
>
>How did you get that?
>
>>> supported by a signed 8-octet integer in nanoseconds centered on
>8*8 is 64.  I didn't see anything about using two of them.
>
>POSIX uses 32 bits of seconds and 32 bits of nanoseconds.  That will wrap in 
>2038.  Using all nanoseconds gets a few more bits so the overall range will 
>be a bit bigger.  (Whether it's enough bigger is another matter.)

You overlook that they moved the epoch 30 years.  Not enough, but enough
to make "not a problem in my lifetime".

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the LEAPSECS mailing list