Using the following namespace attribute
xmlns:ddwrt=http://schemas.microsoft.com/WebParts/v2/DataView/runtime
Not what we wanted:
ddwrt:FormatDate(string(@EventDate), 1033, 5) => MM/DD/YYYY HH:MM AM/PM
What we wanted was:
ddwrt:FormatDate(string(@EventDate), 1033, 1) => MM/DD/YYYY
Here is the format chart
Thanks to http://panvega.wordpress.com/2008/12/08/ddwrtformatdate-with-different-formatflags/
No comments:
Post a Comment