I have this attribute in my view model:
[DataType(DataType.DateTime)] public DateTime? StartDate { get; set; }
If I want to display the dat
Apply DataAnnotation like:
[DisplayFormat(DataFormatString = "{0:MMM dd, yyyy}")]