Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
According to http://en.wikibooks.org/wiki/Umbraco/Reference/umbraco.library/FormatDateTime
i shoud be able to transform a date into only showing one or 2 digit month. ( M = 1 or 2 digit month ('8') )
But when i do this i instead get ex: "den 10 november". (yes, it adds the full month name, day and the swedish word "den".
Here is my xslt:
<xsl:value-of select="umbraco.library:FormatDateTime(activityDate, 'M')"/>
Is there any other way i can show one or two digit for month?
Hello,
This is correct:
<xsl:value-of select="umbraco.library:FormatDateTime(activityDate, '%M')"/>
See: http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx#UsingSingleSpecifiers
Worked. Thanks.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Showing one digit month number.
According to http://en.wikibooks.org/wiki/Umbraco/Reference/umbraco.library/FormatDateTime
i shoud be able to transform a date into only showing one or 2 digit month. ( M = 1 or 2 digit month ('8') )
But when i do this i instead get ex: "den 10 november". (yes, it adds the full month name, day and the swedish word "den".
Here is my xslt:
<xsl:value-of select="umbraco.library:FormatDateTime(activityDate, 'M')"/>
Is there any other way i can show one or two digit for month?
Hello,
This is correct:
<xsl:value-of select="umbraco.library:FormatDateTime(activityDate, '%M')"/>
See: http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx#UsingSingleSpecifiers
Worked. Thanks.
is working on a reply...