How to convert Date format

Posted by vinay_rockin on Stack Overflow See other posts from Stack Overflow or by vinay_rockin
Published on 2010-04-02T10:28:08Z Indexed on 2010/04/02 10:33 UTC
Read the original article Hit count: 288

Filed under:
|

Hi All,

I have "Friday, April 02, 2010" as date now I want to display "04/02/2010" if browser language is selected english and "02.04.2010" if browser language is selected as German. All I want, is to display the date as per the browser format.

Any Idea how this can be done?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about globalization