Subject: RE: [xsl] Compare Dates From: "Chris Bayes" <Chris@xxxxxxxxxxx> Date: Tue, 12 Jun 2001 10:33:29 +0100 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Compare Dates, kobily.metaman.maker | Thread | RE: [xsl] Compare Dates, Michael Kay |
Re: [xsl] date calculation from Exc, Jeni Tennison | Date | RE: [xsl] HTML in CDATA, Michael Kay |
Month |