Use something like:
<xsl:value-of select="ddwrt:FormatDate(@ArticleStartDate, 1033, 3)"/> Change 1033 to you LocalID and the second number is a format specifier. See here for possible values.
Make sure you have the ddwrt namespace reference xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" in the top of your xsl.
<xsl:value-of select="ddwrt:FormatDate(@ArticleStartDate, 1033, 3)"/> Change 1033 to you LocalID and the second number is a format specifier. See here for possible values.
Make sure you have the ddwrt namespace reference xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" in the top of your xsl.
No comments:
Post a Comment