in reply to Time since epoch

I know the Mac uses Jan 01, 1904 and VMS uses November 17, 1858 (!!) but what uses Jan 1, 1900?

Replies are listed 'Best First'.
RE: Re: Time since epoch
by lhoward (Vicar) on May 16, 2000 at 22:53 UTC
    The unix localtime function returns years as # of years since 1970 (even though the dates are stored internally as seconds since 1970). Giving an apparent epoch of 1900 (even though its really 1970). Also, most databases represent dates as YYYY-MM-DD, but some don't allow dates before 1900. 1900 as an epoch is more common in application programs than at the OS level.
      I understand all that, I was just wondering if anyone knew of an *OS* that actually used Jan 1, 2000 as their epoch. You'd think it would be more common. Then again, if unix really *did* use 1900, we'd be in a lot of trouble. It would have been a lot easier if they had just used a 64-bit number and started at year "0". :)