Revision: 663
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 26, 2006 06:29 by nicolaspar
Initial Code
function getDia( $timestamp = 0 ){ $timestamp = $timestamp == 0 ? time() : $timestamp; $dias = array('Domingo','Lunes','Martes','Miercoles','Jueves','Viernes','Sábado'); return $dias[date("w", $timestamp)]; } function getMes( $timestamp = 0 ){ $timestamp = $timestamp == 0 ? time() : $timestamp; $meses = array('','Enero','Febrero','Marzo','Abril','Mayo','Junio','Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'); return $meses[date("n", $timestamp)]; }
Initial URL
Initial Description
Initial Title
Php - DÃas y meses en español
Initial Tags
Initial Language
PHP