I have a hidden field in my master page. And I set the current date and time as a value in that \"hiddenfield\" using Javascript. I am unable to get this hidden field value
How about use CulturalInfo From C# to get it?
string currentFormat = CultureInfo.CurrentCulture.DateTimeFormat.ShortDatePattern;
this will return "dd/MM/yy" or "dd/M/YYY" any format in client