Fechas en castellano
| From: | Pablo Malvé | Date: | Wed, 04 Dec 2002 15:19:44 +0000 |
| Subject: | Fechas en castellano | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-30024@lists.php.net to get a copy of this message | ||
Hola lista....
Tengo el siguiente código:
<?php
setlocale ('LC_TIME', 'spanish');
print(ucfirst(strftime("%A %d %B %Y %H:%M \n")));
?>
y cuando lo ejecuto me dice:
Warning: Passing locale category name as string is deprecated. Use the
LC_* -constants instead. in c:\archivos de programa\apache
group\apache\htdocs\distrinet\pruebita.php on line 2
Que puede ser?????
Gracias.
--pm/ga