note 31592 deleted from function.setlocale by betz
| From: | betz@php.net | Date: | Tue, 08 Jul 2003 12:37:55 +0000 |
| Subject: | note 31592 deleted from function.setlocale by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-51690@lists.php.net to get a copy of this message | ||
Note Submitter:
----
<?php
/* Set locale to Dutch */
setlocale (LC_ALL, 'nl_NL');
/* Output: vrijdag 22 december 1978 */
echo strftime ("%A %e %B %Y", mktime (0, 0, 0, 12, 22, 1978));
/* try different possible locale names for german as of PHP 4.3.0 */
$loc_de = setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de',
'ge');
echo "Preferred locale for german on this system is '$loc_de'";
?>