Re: Date conversions
- Posted by Greg Phillips <i.shoot at REDNECKS.COM> May 26, 1999
- 390 views
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]