I want to get French date format dd/mm/yyyy working with my client side validation. I tried to use DataAnnotation like this :
[DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
public Nullable<System.DateTime> DATE_NAISSANCE { get; set; }
But I'm geting always same problem Invalide Date Format if i put for example 15/09/2015, 30/12/2018...
How to fix it ?
DateTimeinstead ofDateTime?? I.e. not nullable? Just a thought.