Hiding the default value for a date
My View Model: public partial class FileTransferFilterCriteriaViewModel { public string Fice { get; set; } public string SourceEmail { get; set; } public string TargetEmail { get; set; } public DateTime FromDate { get; set; } public DateTime ToDate { get; set; } public string Status { get; set; } public string Category { get; set; } } (Nothing is coming from the DB.) My Controller: return View(new FileTransferFilterCriteriaViewModel()) Here is what gets displayed for both FromDate and ToDate : 1/1/0001 12:00:00 AM My HTML: @Html.TextBoxFor(x =>x.Criteria.FromDate) Questions: If the date is