Re: Fecha en php
| From: | Barra Home - Root | Date: | Mon, 03 Sep 2001 04:39:18 +0000 |
| Subject: | Re: Fecha en php | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-13386@lists.php.net to get a copy of this message | ||
Este Script Lo hice yo , aca te va completito.......
<?PHP
$TAGE = array
("Domingo","Lunes","Martes","Miercoles","Jueves","Viernes","Sábado");
$MONATE = array (" ", "Enero", "Febrero", "Marzo",
"Abril", "Mayo", "Junio",
"Julio", "Augosto", "Septiembre", "Octubre",
"Noviembre", "Diciembre");
$TAG=date("w",time()+21600);
$WTAG=date("d",time()+21600);
$MONAT=date("n");
$JAHR=date("Y");
echo $TAGE[$TAG]." ".$WTAG.".".$MONATE[$MONAT].", ".$JAHR;
?>