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 Dates


Hi !!!!
>
>I want to compare two dates to find out which comes first.
>2000-12-19
>What I donīt want to do is to compare each number, if I validate the
>formate is there a XSL function to see which date comes first??????
>
<xsl:if test="number(translate(date1, '-', '')) > number(translate(date2,
'-', ''))">

Ciao Chris

XML/XSL Portal
http://www.bayes.co.uk/xml


 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]