note 32290 added to function.setlocale
| From: | remco at orientplaza dot com | Date: | Thu, 22 May 2003 16:44:13 +0000 |
| Subject: | note 32290 added to function.setlocale | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-48835@lists.php.net to get a copy of this message | ||
Set locale to Dutch */
setlocale ( LC_TIME, "nl_NL.DIS_8859-15");
/* Output: vrijdag 22 december 1978 */
echo strftime ("%A %e %B %Y", mktime (0, 0, 0, 12, 22, 1978));
Works for me to set the locale to Dutch. Other options don't work on my FreeBSD 4.7R + Php
4-4.3.1 + Apache 1.3.27_4
----
Manual Page -- http://www.php.net/manual/en/function.setlocale.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32290
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32290&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32290&report=yes