The default format of datepicker is [MM/dd/yy].Even if i change the system date format like [dd/MM/yyy] datepicker takes a default format i.e [MM-dd-yy]. How to set datepicker format according to system datetime format.
There is no System Default Format like stuff. You can accept Date in any format and convert it to DateTime
string s = "05/01/2013"; DateTime d = DateTime.ParseExact(s, "dd/MM/yyyy", System.Globalization.CultureInfo.InvariantCulture);
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.