Re: [xslt] Problem with date:seconds



 --- cbozeman@hiwaay.net schrieb: > versions 1.0.21
and later are correct (by my
> interpretation of the EXSLT 
> documentation). 

Is "date:seconds(2002-11-26T19:41:52)"  more
than "date:seconds(2003-04-16T12:21:12)" ?

1.Jan.2002 > 1.Jan.2003 ?
1.Jan.2002 < 1.Jan.2003 ?

I think the interpretation in 1.0.20 makes more sense.

In 
http://www.exslt.org/date/functions/seconds/index.html
they use the word "difference" and I think this is
not very exact.

The difference between 1 and 2 is 1;
the difference between 2 and 1 is also 1 (not -1).
-------------
In my software I delete old files using the seconds
function for date comparison. At the moment this is
very dangerous ;-)

Bernhard
http://datenkueche.com


__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]