This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Date/Time in XSLT and/or XPath
- From: "Faroukh Fekravar" <fekravar at austin dot apc dot slb dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 15 May 2002 16:50:05 -0500
- Subject: [xsl] Date/Time in XSLT and/or XPath
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi,
I need to compare date and time, something like below
<xsl:for-each select="../aaa/bbb[DtTmStart >= $StartTime and DtTmEnd
<= $EndTime]">
All four dates are in in format like
5/2/2000 3:00:00 AM
or
5/2/2000 (assumed midnight)
Is there anyway to do that (formatting, etc ..)
Thanks for any help,
Faroukh
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list