[Home] [By Thread] [By Date] [Recent Entries]

Subject: How do I define a work variable in XSL with the current date and how do I format date in output
From: "Catherine Wilbur cwilbur@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 28 Oct 2014 20:11:34 -0000
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

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member