Re: XML Schema and Timezones
Thanks Chris - Yes, but the actual time represented by the UTC time 14:00Z changes in the UK (for example) in winter relative to summer, as there is a 1 hour DST. So if you were to Schedule all calanders based on 14:00Z then this would imply a different schedule time in the summer (13:00 PM) in the UK than in the winter (14:00 PM) There is no indicator of this and so your scheduling has the possiblity of being out an hour in different timezones. So, from your example, "2001-12-23T18:48-08:00 or 2001-12-24T04:48 02:00, both of which are equivalent to 2001-12-24T02:48Z." This is ok in the States (as it seems to hgave a constant differetial between the standard time and UTC), but other zones also change yearly for DST. Hence, although 2001-12-23T18:48-08:00 or 2001-12-24T04:48 02:00, both of which are equivalent to 2001-12-24T02:48Z may be true in the summer, in the winter the second timezone (including 1 hour DST) could well be 2001-12-24T04:48 01:00 and so an hour is lost (due to DST). Steven ----- Original Message ----- From: "Christopher R. Maden" <crism@m...> To: <xml-dev@l...> Sent: Sunday, December 23, 2001 11:49 PM Subject: Re: XML Schema and Timezones > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > At 18:27 23-12-2001, s.livingstone@b... wrote: > >There needs to be some way of stating the target timezone so that the > >correct Daylight settings relative to UTC can be resolved. Something like > >this... > > > >"CCYY:MM:DDTHH:MM:SSZGXXXX" > > ISO 8601 date-times have time zone information. The Z indicates UTC. To > use a dateTime with a different time zone, use a format like > 2001-12-23T18:48-08:00 or 2001-12-24T04:48 02:00, both of which are > equivalent to 2001-12-24T02:48Z. > > HTH, > Chris > - -- > Christopher R. Maden, Principal Consultant, HMM Consulting Int'l, Inc. > DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training > <URL: http://www.hmmci.com/ > <URL: http://crism.maden.org/consulting/ > > PGP Fingerprint: BBA6 4085 DED0 E176 D6D4 5DFC AC52 F825 AFEC 58DA > -----BEGIN PGP SIGNATURE----- > Version: PGP Personal Privacy 6.5.8 > > iQA/AwUBPCaXyKxS CWv7FjaEQLR8gCg8QIwTsrNVYQ5B8RBs01nElnNiBAAoJo1 > OF0bCF8axxO6eONjoRiSlmqw > =6bYy > -----END PGP SIGNATURE----- > > > ----------------------------------------------------------------- > The xml-dev list is sponsored by XML.org <http://www.xml.org>, an > initiative of OASIS <http://www.oasis-open.org> > > The list archives are at http://lists.xml.org/archives/xml-dev/ > > To subscribe or unsubscribe from this list use the subscription > manager: <http://lists.xml.org/ob/adm.pl> >
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format