This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]