I am working on a c# mvc project. In one of my Index views i have a column called "Last Cut Off Date" for date, its value is: 28/07/2016. When i go to the Edit view of that row, i have a form and one of its fields is "Last Cut Off Date" (it is a datepicker field). When i run my project on Internet Explorer the date is preselected with value: 2016-07-28 and when i run my project on Google Chrome, the date is preselected with value: 07/28/2016. I need the preselected value to be in format: dd/MM/yyyy. How can i achieve this on both Google Chrome and Internet Explorer?
Here is the code from the Model:
[DataType(DataType.Date)]
[DisplayFormat(DataFormatString="{0:yyyy-MM-dd}",ApplyFormatInEditMode = true)]
public Nullable<DateTime> LastCutoffDate { get; set; }