xsl-list
[Top] [All Lists]

RE: [xsl] format-dateTime - getting "A.M." would like to get "AM"

2007-08-20 03:04:50
<xsl:value-of select="translate(format-dateTime(production/start-date,'[h]:[m]
[PN]','en',(),()),'.','')" />
-- 
Charles Knell
cknell(_at_)onebox(_dot_)com - email



-----Original Message-----
From:     David Murphy <david(_at_)firechaser(_dot_)com>
Sent:     Mon, 20 Aug 2007 10:00:06 +0100
To:       <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject:  [xsl] format-dateTime - getting "A.M." would like to get "AM"

Hello

Using the following

<xsl:value-of select="format-dateTime(production/start-date,'[h]:[m]
[PN]','en',(),())" />

I get a result of " Thursday 13 September 2007 - 3:00 P.M. "

But I need to format the P.M. as simply PM

I'm using Saxon 8.

Thanks, David

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>
  • RE: [xsl] format-dateTime - getting "A.M." would like to get "AM", cknell <=