Ver Mensaje Individual
  #7 (permalink)  
Antiguo 06/01/2006, 12:10
Avatar de Saruman
Saruman
 
Fecha de Ingreso: mayo-2003
Ubicación: Panama city, Panama, Panama
Mensajes: 1.154
Antigüedad: 21 años
Puntos: 5
Cluster, lo he probado asi en mi función y me sigue trayendo todo en ingles.... que tengo mal en mi función?

Código PHP:
$strOutputDateMask01 "d \d\e F \d\e Y \a \l\a\s h:i a";
 
function 
PrintDate($fecha ""$mask "") {
  global 
$strOutputDateMask01;
  
  if (
$mask == ""$mask $strOutputDateMask01;
  if (
$fecha == ""$fecha time();
  
  
setlocale(LC_ALL'es-ES'); 
  
$loc setlocale(LC_TIMENULL);
  
  
$fecha date($mask$fecha);
  return 
$fecha;
 }
 
 
$fecha PrintDate("timestamp_numero"); 
que puede ser? me sigue trayendo 06 de January de 2006 a las 1:09 pm
__________________
Saruman

One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them.