In my SharePoint web site I am using Jquery date time picker and displaying the dates on my pages. I want to initialize my datetime picker with some default date but in CLIENT machine's format and need the same while displaying the dates elsewhere in my site. I tried to use .toLocaleString() in JavaScript but it did not solve the problem. Please advice.
Asked
Active
Viewed 441 times
1 Answers
1
check this other similar threads. It might help you:
How format JavaScript Date with regard to the browser culture?