Subject: RE: [xsl] counting dates [help] From: "Dariusz Borowski" <d.borowski@xxxxxx> Date: Mon, 06 Jun 2005 23:56:45 +0200 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to replace " with ', David Carlisle | Thread | RE: [xsl] counting dates [help], Christopher R. Maden |
RE: [xsl] counting dates, Dariusz Borowski | Date | Re: [xsl] Re: parameter oddness, Bruce D'Arcus |
Month |