xsl-list
[Top] [All Lists]

Re: [xsl] Computing Number of Days between Two Dates in XSLT 1.0

2007-02-16 05:51:09
I always get the answer in number of days (I tried
with different dates). I think, this is what you want.

Rereading the "specification" for the EXSLT date:difference template, I see
that it states the result must omit the years and months when the dates
inputted contain days.  You are right; this behavior is what I want.

--
Roger L. Cauvin
r o g e r @ c a u v i n . o r g
http://cauvin.blogspot.com


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