|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] compare dayTimeDuration ?Ilya Sterin sterini at gmail.comFri Feb 23 10:47:24 PST 2007
A simple look at the docs would of yielded the answer... http://www.w3.org/TR/xpath-functions/#durations-dates-times Ilya On 2/23/07, Andrew Welch <http://x-query.com/mailman/listinfo/talk> wrote: > On 2/23/07, Sébastien Geindre <http://x-query.com/mailman/listinfo/talk> wrote: > > John Snelson a écrit : > > > Have you tried the "=" or "eq" operators? > > > > > > John > > > > > i've tried, but it seems that the comparison is on the string > > You need to make them dates first eg: > > xs:date('2005-5-1') - xs:date('2004-5-1') > > What sort of comparison are you trying to do? > > _______________________________________________ > http://x-query.com/mailman/listinfo/talk > http://x-query.com/mailman/listinfo/talk >
|
Purchase Stylus Studio Online Today!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






