Set following culture and date format in Global.ASAX Application_BeginRequest method.
It will fix the issue
protected void Application_BeginRequest()
{
// Set your culture for example "en-GB"
CultureInfo cInf = new CultureInfo("en-GB", false);
cInf.DateTimeFormat.DateSeparator = "/";
cInf.DateTimeFormat.ShortDatePattern = "dd/MM/yyyy"; //You may add your specific format
//You may add your specific format
cInf.DateTimeFormat.LongDatePattern = "dd/MM/yyyy hh:mm:ss tt";
System.Threading.Thread.CurrentThread.CurrentCulture = cInf;
System.Threading.Thread.CurrentThread.CurrentUICulture = cInf;
}
It will fix the issue
protected void Application_BeginRequest()
{
// Set your culture for example "en-GB"
CultureInfo cInf = new CultureInfo("en-GB", false);
cInf.DateTimeFormat.DateSeparator = "/";
cInf.DateTimeFormat.ShortDatePattern = "dd/MM/yyyy"; //You may add your specific format
//You may add your specific format
cInf.DateTimeFormat.LongDatePattern = "dd/MM/yyyy hh:mm:ss tt";
System.Threading.Thread.CurrentThread.CurrentCulture = cInf;
System.Threading.Thread.CurrentThread.CurrentUICulture = cInf;
}