[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML Schema and Timezones

timezones list
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).


----- 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

> 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...
> >
> 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
> Version: PGP Personal Privacy 6.5.8
> OF0bCF8axxO6eONjoRiSlmqw
> =6bYy
> -----------------------------------------------------------------
> 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>


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.