[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Is xs:date('2012-09-10+14:00') less than xs:date('2012-09-11-14:00') ?


Subject: [xsl] Is xs:date('2012-09-10+14:00') less than xs:date('2012-09-11-14:00') ?
From: "Costello, Roger L." <costello@xxxxxxxxx>
Date: Mon, 17 Sep 2012 20:01:36 +0000

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?

/Roger


Current Thread