RE: [xsl] compare date value with 2 other ones

Subject: RE: [xsl] compare date value with 2 other ones
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Sat, 7 Apr 2001 09:58:43 +0100
>
> Take the current date with this format: 05/04/2001
>
Since your email address is in Belgium I assume this is dd/mm/yyyy rather
than mm/dd/yyyy; but really, it would be far better to use ISO date format
(yyyy-mm-dd) and then the problem disappears.

So a suggestion: first convert your document to use ISO format dates (which
is easy using XSLT, or you could do it in a SAX filter before the XSLT
transformation), and then manipulate the data in this form.

Mike Kay
Software AG


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread