Re: [xsl] formatting dates/times in XSL

Subject: Re: [xsl] formatting dates/times in XSL
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Tue, 30 Oct 2001 11:51:28 +0200
Todd Binder wrote:

Is there a way to format dates and times in XSL?  currently I have date and
time elements in the XML sourcefile

<date>20011011</date>
<time>14:00</time>

and with XSL, I would like to format the date as MMM DD, YYYY (i.e. October
11, 2001) and format the time in the format of 2 pm
One of the possibilities here is to use XSLT Standard Library's date/time module:

http://xsltsl.sourceforge.net/


-- Oleg Tkachenko Multiconn International, Israel


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



Current Thread