Javascript - Retrieve OS Date formatting
问题 Hmmm... Okay so I've been searching the web for 2 days now without any luck. I've seen a lot of answers on how to format a javascript date for example new Date().toString("yyyy-MM-dd")... Which would return something like 2013-04-05. This is absolutely not the problem. What I want, is the possibility to set the format in which my OS displays dates, then retrieve that specific format and display it in the browser. For example, let's say I changed the format of the date in my OS to MM-yyyy/dd