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