Re: Date conversions

new topic     » goto parent     » topic index » view thread      » older message » newer message

29220 days before 1980 is 1900, or in the computers reckoning, 00

Scott Murray wrote:

> > 1      01/01/1980        1     25 72 0 0 {37,114,0,0}
> >11      01/01/2000     7306     AE 8E 0 0 {174,142,0,0}
>
>    Oh, just noticed the part about the way the bytes are stored.  Conversion
> to atoms appears to be a straightforward (b2 * #100  b1 - 29220).  Don't
> know why that is, but I guess it could go back a few years (however many are
> in 29220 days) before 1980, since 01/01/1980 is stored as 29221.
>

[snip code]

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu