I want to check that the expiration date is greater than another date.
[DisplayFormat(DataFormatString = "0:yyyy/MM/dd", ApplyFormatInEditMode = true)]
public DateTime? Date { get; set; }
[DisplayFormat(DataFormatString = "0:yyyy/MM/dd", ApplyFormatInEditMode = true)]
public DateTime? Expiration { get; set; }
How do I do this?