Is there an easy way to do a date difference in XSLT.
I basically have two strings : "9/11/2004" and "10/25/2005"
and would like to produce the number of days between the two.
Maybe you could use
http://xsltsl.sourceforge.net/date-time.html#template.dt:calculate-julian-day
It takes the three parameters day, month and year and returns the Julian Day as
a decimal number which you could use to calculate
the difference between to dates.
Rudolf
--~------------------------------------------------------------------
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>
--~--