1

I have a Data item in my list SharePoint. It's look like this : 2014-10-16T11:00:00:00Z How can I eliminate the T and Z without parse coding , if there is an out-of-box or an xslt code that I add It with SharePoint designer2010.

2

Look for ddwrt:FormatDate function:

http://blogs.msdn.com/b/joshuag/archive/2009/03/25/custom-date-formats-in-sharepoint-xsl.aspx

http://autosponge.wordpress.com/2008/05/09/ddwrt-formatdate-and-formatdatetime/

1
  • I ad this: <xsl:value-of select="ddwrt:FormatDate(@DateOrg,1033,2)"/> – Imen Turki Oct 15 '14 at 13:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.