[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Date format


Subject: RE: [xsl] Date format
From: "Chang, Shining" <Shining.Chang@xxxxxxxxxxxxx>
Date: Fri, 22 Aug 2003 10:50:31 -0700

You can use <xsl:value select="substring(the_date, 1, 10)" />



-----Original Message-----
From: Dionisio Ruiz de Zarate [mailto:dionisio@xxxxxxxxxxxxx]
Sent: Friday, August 22, 2003 10:07 AM
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] Date format


hello from one database i get the date format with this:
<xsl:value-of select="the_date"/> (the_date is the field nakme in the xml
tree)
 and appears in this format:  2003-08-22 18:32:05

but i want to writte int this format: 2003-08-23

how can i make it?
can you help me? thanks



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xml