I'm facing a problem with the format of the Date when editing. That is my validation parameter:
[Required]
[DataType(DataType.Date)]
[DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
public DateTime dateIn
When entering the date in database (create) the format for ex: 22/02/1998 is correct but when editing, the format it is 22.02.1998.
Even if there is the parameter AppyFormatInEditMode. It seems that it doesn't work.