checking date
Posted: Sat Jul 07, 2007 5:13 pm
How do you do a date comparison?
if Ihave something like:
<xsl:value-of select="format-number(sum($something[ xyz ... ]
where xyz is checking the value of some variable like "valid=y", and I want to extend that check to say "if valid = y and date > 1 Jan 2007" how do I do it?
Should something like this work?
date > '01-Jan-2007' ?
date is coming from a sybase table.
Many thanks,
Mike
if Ihave something like:
<xsl:value-of select="format-number(sum($something[ xyz ... ]
where xyz is checking the value of some variable like "valid=y", and I want to extend that check to say "if valid = y and date > 1 Jan 2007" how do I do it?
Should something like this work?
date > '01-Jan-2007' ?
date is coming from a sybase table.
Many thanks,
Mike