xsl-list
[Top] [All Lists]

Re: counting dates

2005-06-06 04:53:38
Hi Dariusz,
   XSLT 2.0 has following function to do date
arithmetic you wish ..

fn:subtract-dates-yielding-yearMonthDuration(
dateTime? $operand1, dateTime? $operand2) ?¨
yearMonthDuration?

Regards,
Mukul

--- Dariusz Borowski <d(_dot_)borowski(_at_)web(_dot_)de> wrote:

Hi There!

I'm new hear and I would like to know, if anybody
knows how to count date.

I need delta-dates of two dates.

The date-format is as follow: "2005-05-01" and
"2005-06-01"

Now we have here a delta of "1 month".

How can I get a result like this in xsl???

Thanks!
Dariusz

__________________________________________________________
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0
Ct./Min.
weltweit telefonieren!
http://freephone.web.de/?mc=021201



--~------------------------------------------------------------------
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>
--~--





                
__________________________________ 
Discover Yahoo! 
Have fun online with music videos, cool games, IM and more. Check it out! 
http://discover.yahoo.com/online.html

--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>