W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > July to September 2007

Re: Timezones and xsd:dateTime/xsd:date

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Tue, 11 Sep 2007 09:27:45 +0100
Message-ID: <46E65181.9090202@hp.com>
To: Eric Prud'hommeaux <eric@w3.org>
CC: Lee Feigenbaum <lee@thefigtrees.net>, RDF Data Access Working Group <public-rdf-dawg@w3.org>

Concrete example:

P = "2006-09-10T09:00:00"^^xsd:dateTime
Q = "2006-09-10T09:00:00Z"^^xsd:dateTime

Is P = Q ?

XMLSchema [1]   => Indeterminate (case D)
F&O [2]         => false (because XMLSchema algorithm isn't true)
XPath2 [3]      => true, if the default timezone is Z, else false

	Andy

[1] http://www.w3.org/TR/xmlschema-2/#dateTime-order
[2] http://www.w3.org/TR/xpath-functions/#func-dateTime-equal
[3] http://www.w3.org/TR/xpath20/#dt-timezone
Received on Tuesday, 11 September 2007 08:28:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:00:51 UTC