I need to display a date, for example, Wednesday, May 5, 2011. I'm trying
<xsl:value-of select="format-date( current-date(), '[FNn,*-3], [D01] [MNn,*-3] [Y0001]', 'en', '', 'US' )" />
And another one that I tried
<xsl:value-of select="format-date( current-date(), '[FNn], [MNn] [D1o], [Y]', 'en', (), () )" />
Both give me the following. I need a text and it only gives a number. I am using XSLT 2.0
3, 5 4, 2011
source share