note 41298 deleted from function.setlocale by betz
| From: | betz@php.net | Date: | Tue, 06 Apr 2004 05:45:43 +0000 |
| Subject: | note 41298 deleted from function.setlocale by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-67691@lists.php.net to get a copy of this message | ||
Note Submitter: CarmineDEV [ITA]
----
<?PHP
setlocale (LC_TIME,"it_IT.ISO8859-1");
$time_ita = ucwords(strftime("%A, %d %B %Y - %H:%M"));
?>
----> In FreeBSD, definizioni su "locale" sono raccolte nella directory
/usr/share/locale/ . I formati relativi a giorni della settimana e tempo ... in
/usr/share/locale/it_IT.ISO_8859-1/LC_TIME.
---> In Windows XP [Microsoft adotta tre stringhe identificative ]funge bene in locale su Apache
2 & PHP 4.3 :
<?PHP
setlocale (LC_TIME,"ita");
$time_ita = ucwords(strftime("%A, %d %B %Y - %H:%M"));
?>
CIAO e Buon Smanettamento !