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

Subject: Re: [xsl] Computing Number of Days between Two Dates in XSLT 1.0
From: "Roger L. Cauvin" <roger@xxxxxxxxxx>
Date: Fri, 16 Feb 2007 06:50:55 -0600
> 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

Current Thread