xsl-list
[Top] [All Lists]

RE: Date format

2003-08-22 10:50:31

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



-----Original Message-----
From: Dionisio Ruiz de Zarate [mailto:dionisio(_at_)tinieblas(_dot_)com]
Sent: Friday, August 22, 2003 10:07 AM
To: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
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



<Prev in Thread] Current Thread [Next in Thread>