adjusting news date output format
Im trying to adjust the output of the date of a news item to display as MM/DD/YYYY but can't seem to get it to work properly.
I changed the code in the template to
<
sf:FieldListView
ID
=
"PublicationDate"
runat
=
"server"
Format
=
"PublicationDate.ToLocal():mm'\/'dd'\/'yyyy"
/>
Philippe,
Try this one on for size:
<
sf:FieldListView
ID
=
"PublicationDate"
runat
=
"server"
Format
=
"PublicationDate.ToLocal():MM/dd/yyyy"
/>
Ah! Thanks so much Tim, really appreciate the help!