note 38969 added to function.setlocale
| From: | kommissar at zonapowers dot cl | Date: | Tue, 13 Jan 2004 18:37:47 +0000 |
| Subject: | note 38969 added to function.setlocale | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-63467@lists.php.net to get a copy of this message | ||
Just for taking property about the language; write the name of your language where is es_CL (Chile).
But I am now fighting with the PHP script trying to get the chilean time, and not the server time.
<?php
setlocale (LC_TIME,"es_CL");
$date = strftime("%A %d de %B de %Y");
echo $date;
?>
----
Manual Page -- http://www.php.net/manual/en/function.setlocale.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38969
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38969&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38969&report=yes
Search -- http://master.php.net/manage/user-notes.php