xsl-list
[Top] [All Lists]

Re: Date Difference

2005-12-19 12:49:27
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 Europe, the number of days between the two is NaN, because 10/25/2005 is not a valid date.

HTH
--
犬 Chris Burdess
  "They that can give up essential liberty to obtain a little safety
  deserve neither liberty nor safety." - Benjamin Franklin






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