Subject: Re: [xsl] Is xs:date('2012-09-10+14:00') less than xs:date('2012-09-11-14:00') ? From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 17 Sep 2012 16:37:39 -0400 |
Hi Folks,
Why does this expression return true:
xs:date('2012-09-10+14:00') lt xs:date('2012-09-11-14:00')
September 10, 2012 plus 14 hours is less than September 11, 2012 minus 14 hours?
As I calculate it,
September 10, 2012 plus 14 hours is 2:00 PM on September 10, 2012
and
September 11, 2012 minus 14 hours is 10:00 AM on September 10, 2012
No?
http://en.wikipedia.org/wiki/UTC%2B14:00 http://en.wikipedia.org/wiki/UTC-12:00
2012-09-11-04:00 is September 11, 2012 in the Eastern Time Zone 2012-09-10+04:00 is September 10, 2012 in the Persian Gulf
2012-09-10T12:00+04:00 is 2012-09-10T08:00UTC 2012-09-11T12:00-04:00 is 2012-09-11T16:00UTC ... which are 32 hours apart
-- Public XSLT, XSL-FO, UBL and code list classes in Europe -- Oct 2012 Contact us for world-wide XML consulting and instructor-led training Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Google+ profile: https://plus.google.com/116832879756988317389/about Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Is xs:date('2012-09-10+14:00', Costello, Roger L. | Thread | Re: [xsl] Is xs:date('2012-09-10+14, Wolfgang Laun |
Re: [xsl] Using barcode markup in S, J.Pietschmann | Date | [xsl] Typing variables, Ihe Onwuka |
Month |