How can I change the date format for asp.net model view control?
Can any one help me out?
Is there any chance to change the date format with out creating a new class
public class Story
{
[ScaffoldColumn(false)]
public int ID { get; set; }
[Required(ErrorMessage = "The Title is required")]
public string Title { get; set; }
public DateTime? PostDate { get; set; }
[Required(ErrorMessage = "The Text is required")]
public string Text { get; set; }
public virtual string Image { get; set; }
}