Question : The value '1990-10-23' is not valid for DOB. Data Annotation C#
Answered by : hazel
[DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:MM/dd/yyyy}")]
Source : https://stackoverflow.com/questions/5252979/assign-format-of-datetime-with-data-annotations | Last Update : Tue, 26 Jan 21