On 12/19/05, thomas(_dot_)maciejewski(_at_)sgcib(_dot_)com
<thomas(_dot_)maciejewski(_at_)sgcib(_dot_)com> wrote:
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.
In 2.0 you can use the various duration functions (google for
xdt:dayTimeDuration). If you are limited to 1.0, the you can use the
exslt:date package: http://www.exslt.org/date/index.html.
cheers
andrew
--~------------------------------------------------------------------
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>
--~--