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

Re: Are these two datetime values equivalent?

From: Andrew Welch <andrew.j.welch@gmail.com>
Date: Thu, 30 Jul 2009 17:31:15 +0100
Message-ID: <74a894af0907300931y2372cac9u63aae8a80c93e64e@mail.gmail.com>
To: "Costello, Roger L." <costello@mitre.org>
Cc: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Re: Are these two datetime values equivalent?
2009/7/30 Costello, Roger L. <costello@mitre.org>:
>
> Hi Folks,
>
>   Are these equivalent:
>
>   2009-07-29T24:00:00-6:00
>   2009-07-30T00:00:00-6:00
>
> /Roger
>

xs:dateTime('2009-07-29T24:00:00') eq xs:dateTime('2009-07-30T00:00:00')

returns true in Saxon 9.1.0.7




-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
Received on Thursday, 30 July 2009 16:31:57 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
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-2007 All Rights Reserved.