note 41298 added to function.setlocale
| From: | CarmineDEV at rn2 dot php dot net | Date: | Tue, 06 Apr 2004 02:37:30 +0000 |
| Subject: | note 41298 added to function.setlocale | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-67679@lists.php.net to get a copy of this message | ||
<?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 !
----
Manual Page -- http://www.php.net/manual/en/function.setlocale.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41298
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41298&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41298&report=yes
Search -- http://master.php.net/manage/user-notes.php