Re: Fecha y hora argentina
| From: | Erik Torres Serrano | Date: | Sat, 22 Dec 2001 03:24:06 +0000 |
| Subject: | Re: Fecha y hora argentina | ||
| References: | 1 2 3 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-17012@lists.php.net to get a copy of this message | ||
Esto esta en los archivos del foro de PHP en www.webestilo.com, funciona de maravillas.
<?php
$ahora=time();
setlocale("LC_ALL","es_ES");
echo strftime("%A, %d de %B de %Y, a las %H:%M:%S",$ahora)."<br>";
?>
Suerte,
Erik
OCS Software wrote:
Como debo poner la hora y la fecha en formato español y para la argentina? -- Erik Torres Serrano Division of Physical Chemistry Center for Genetic Engineering and Biotechnology P.O. Box 6162, CP. 10600 Havana, Cuba Phone: 537-216022 ext. 1137 Fax: 537-214764 E-mail: erik.torres@cigb.edu.cu