To format a date field in a Sharepoint Content Query Webpart (CQWP) you can do the following:
1) Edit your itemstyle.xsl
2) Add a reference to
xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime"
3) Now you can use the following syntax to format your date
xsl:value-of select="ddwrt:FormatDate(@field, 2057, 3)"/>
4) Save your itemstyle.xsl & your date should be formatted
↧