I have a date picker on one form, I want to have the user enter the date with the century, and not allow the date to be inserted without the century.
[DisplayFormat(DataFormatString = "{0:MM/dd/yyyy}")]
[Display(Name = "Birthdate")]
[Required]
public DateTime? Birthdate { get; set; }
However, this still allows the user to enter 1/1/91.
Use ApplyFormatInEditMode: