W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 1999

FW: dateTime Schema counter proposal

From: Arnold, Curt <Curt.Arnold@hyprotech.com>
Date: Wed, 8 Dec 1999 10:16:42 -0700
Message-ID: <61DAD58E8F4ED211AC8400A0C9B46873415562@THOR>
To: "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
Michael S. Brothers [mailto:Michael.S.Brothers@EMCIns.Com] wrote
>>Subject: Re: dateTime Schema counter proposal
>>This is a great suggestion. May I add that while this spec is defined, 
>>we go ahead and take care of the Y10K/Y100K problem at the same time?

The most obvious way to do that to me is to allow a secondary lexical
representations for date and dateTime (ala timeDuration) that matches the
real production and is interpreted like Microsoft's DATE.

From MS Documentation:
The DATE type is implemented as a floating-point value, measuring days from
midnight, 30 December 1899. So, midnight, 31 December 1899 is represented by
1.0. Similarly, 6 AM, 1 January 1900 is represented by 2.25, and midnight,
29 December 1899 is  1.0. However, 6 AM, 29 December 1899 is  1.25.

This actually takes care of all arbitrary time boundaries (most
implementations would have a year 5E307 problem if based on a IEEE double)
though you really start losing precision a couple of trillion years from

I had thought about it adding it originally, but I wanted to avoid anything
that would distract from the rest of the proposal.
Received on Wednesday, 8 December 1999 12:19:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:45 UTC