note 63608 deleted from function.date by nlopess
| From: | nlopess@php.net | Date: | Sun, 26 Mar 2006 19:02:02 +0000 |
| Subject: | note 63608 deleted from function.date by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-106649@lists.php.net to get a copy of this message | ||
Note Submitter: Wdeah < at yahoo dot com >
Reason: non-english
----
<?
// Fecha en español.
$dias = array('Domingo', 'Lunes', 'Martes', 'Miércoles',
'Jueves', 'Viernes', 'Sábado');
$meses = array('Diciembre', 'Enero', 'Febrero', 'Marzo',
'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto',
'Septiembre', 'Octubre', 'Noviembre');
print ($dias[date('w')].' '.date('j').' de
'.$meses[date('n')].' del '.date('Y').' -
'.date('g').':'.date('i').' '.date('A'));
?>