I would like to change the display format of x.PublicationDate which is of type DateTime in following manner:
From: 2/28/2013 12:00:00 AM
My current code (using MVC 4): @Html.PropertyFor(x => x.PublicationDate)
Thank you in advance!
I'm guessing you get that format because of your applications culture setting.
But you could change the layout for how you wish to render DateTimes. Joel did a good post on the subject.