note 73670 deleted from function.date by nlopess

From: Date: Tue, 06 Mar 2007 17:22:15 +0000
Subject: note 73670 deleted from function.date by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-124161@lists.php.net to get a copy of this message
Note Submitter: suscripciones at basnek dot com ---- simple function to retrieve the name of month in the selected language function smrVerMes( $nMes, $idioma="esp" ) { $aMeses = array( "esp" => array( "","Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto" , "Septiembre", "Octubre", "Noviembre", "Diciembre" ), "cat" => array( "","Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost" , "Septembre", "Octubre", "Novembre", "Decembre" ), "eng" => array( "","January", "February", "March", "April", "May", "June", "July", "August" , "September", "October", "November", "December" ) ); return( $aMeses[$idioma][$nMes] ); }

« previous php.notes (#124161) next »