Posts Tagged ‘date-format’

Multilingual Javascript Date-Format Class

Posted in Javascript on December 1st, 2008 by Zaenal M. – 4 Comments
PHP strftime and Javascript DateFormat class

PHP strftime and Javascript DateFormat class

For PHP developer, it’s will be nice if we can use same date format parameter both in PHP and Javascript. This DateFormat class created for that purpose, since took strftime like parameter to format the output string. For example passing parameter “%d-%m-%Y” will output “dd-mm-yyyy” date string. See also: PHP strftime manual.

DateFormat has standard version and prototype version. The standard version does not required any other library, because it’s developed under standard Javascript. The prototype version required Prototype library (at least version 1.6). read more »