How to find browser date time format

Posted by Ranjeet on Stack Overflow See other posts from Stack Overflow or by Ranjeet
Published on 2010-03-31T06:27:47Z Indexed on 2010/03/31 6:33 UTC
Read the original article Hit count: 254

Filed under:

Hi All,

I have date as 31.03.2010 in german ofcourse 31 is date,03 is month and 2010 is year. Now I want to display the date as per the selected datetime format for the browser, say is user has german for him I would display 31.03.2010 whereas for English I would display 03/31/2010.

Any Idea how this can be done?

© Stack Overflow or respective owner

Related posts about JavaScript