[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: counting dates [help]

Subject: RE: counting dates [help]
From: "Dariusz Borowski" <d.borowski@xxxxxx>
Date: Mon, 06 Jun 2005 23:56:45 +0200
borowski christopher
Hi there!

I need your help!

I need to get a 'duration' between date1 (e.g. 2005-05-10) and date2 (e.g.
2005-07-10)
in DAYS in 'XSL'.

I don't know how to manage it. I would be appreciative if anybody could help
me.

Thanks a lot!
Dariusz



xsl-list@xxxxxxxxxxxxxxxxxxxxxx schrieb am 06.06.05 15:43:11:
>
> > >    XSLT 2.0 has following function to do date
> > > arithmetic you wish ..
> > >
> > > fn:subtract-dates-yielding-yearMonthDuration(
> > > dateTime? $operand1, dateTime? $operand2) (
> > > yearMonthDuration?
> > >
>
> This function was in earlier drafts but is not present in the latest
> specifications.
>
> Michael Kay
> http://www.saxonica.com/
>


______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.