Re: [xsl] Date/Time in XSLT and/or XPath

Subject: Re: [xsl] Date/Time in XSLT and/or XPath
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Thu, 16 May 2002 00:32:33 +0200
The dates and times should be brought in a number format, which allowes to compare it easily. So it should be YYYYMMDDHHMMSS (example: 20020515213512 -> 15.05.2002, 21:35:12). I would change the XML if possible. Otherwise you have to handle with substring().


Faroukh Fekravar schrieb:

I need to compare date and time, something like below

<xsl:for-each select="../aaa/bbb[DtTmStart &gt;= $StartTime and DtTmEnd
&lt;= $EndTime]">

All four dates are in in format like
5/2/2000 3:00:00 AM
5/2/2000  (assumed midnight)

Is there anyway to do that (formatting, etc ..)

Thanks for any help,

XSL-List info and archive:

Current Thread