Date: 09/29/00
- Next message: Benjamin Lee: "Re: [PHP-DEV] Re: [PHP] Level of Java Support in PHP"
- Previous message: melchers <email protected>: "[PHP-DEV] Bug #6945: signed / unsigned mismatch"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: wico <email protected>
Operating system: linux
PHP version: 4.0 Latest CVS (29/09/2000)
PHP Bug Type: Date/time related
Bug description: date should use the current locale, instead of always returning dates in englis
Hiya
date should use the current locale, instead of always returning dates in english
setlocale(LC_TIME, "nl_NL");
$temp = date("d M Y H:i", time()); //this still gives the english date
$temp = strftime("%d %b %Y %H:%M", time()); //this gives the correct, dutch date
Greetz,
Wico
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Benjamin Lee: "Re: [PHP-DEV] Re: [PHP] Level of Java Support in PHP"
- Previous message: melchers <email protected>: "[PHP-DEV] Bug #6945: signed / unsigned mismatch"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

