Do you have control over the conversion? If so, you can pass the current date to XSL and use the current date from within XSL. The following describes how you declare an input parameter, but knowing how you perform the conversion, I cannot tell you how to pass the value.
<xsl:param name="current-date" />
For example, from a bash script, use:
xsltproc --stringparam current-date `date +%Y-%m-%d` -o output.html path-to.xsl path-to.xml
Then in xsl you can use:
<xsl:value-of select="$current-date"/>
Kevin Hakanson Oct. 15 '09 at 21:56 2009-10-15 21:56
source share