0

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.

V.B
  • 1,191
  • 7
  • 29
  • 55

1 Answers1

1

check this other similar threads. It might help you:

How format JavaScript Date with regard to the browser culture?

How to detect the user's locale date and time format

Community
  • 1
  • 1
Mekalikot
  • 327
  • 2
  • 8