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

Subject: FW: [xsl] compare date value with 2 other ones
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Tue, 10 Apr 2001 10:47:33 +0100

-----Original Message-----
From: Michael Kay [mailto:mhkay@xxxxxxxxxxxx]
Sent: 07 April 2001 09:59
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] compare date value with 2 other ones


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



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


Current Thread