select="format-date(current-date(), "[Y0001][M01][D01]")
Michael Kay
Saxonica
mike@xxxxxxxxxxxx
+44 (0) 118 946 5893
On 28 Oct 2014, at 20:11, Catherine Wilbur cwilbur@xxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> How do I define a work variable (GLDate) to contain the current date in
format yyyymmdd?
>
> <xsl:variable name="GLDateValue" select="current-date()"/>
>
> How do I code the following line to put my GLDate in my output - want to
format it in output as YYYYMMDD?
> <xsl:value-of select="$GLDateValue" />,
>
> _____________________________________________________________________
> Catherine Wilbur | Senior Application Programmer | IT Services
> 401 Sunset Avenue, Windsor ON Canada N9B 3P4
> (T) 519.253.3000 Ext. 2745 | (F) 519.973.7083 | (E) cwilbur@xxxxxxxxxxx
> www.uwindsor.ca/its
> XSL-List info and archive
> EasyUnsubscribe (by email)
|