xsl-list
[Top] [All Lists]

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

2012-09-17 15:01:54
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--