Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/12/2008, 14:12
Avatar de Ronruby
Ronruby
 
Fecha de Ingreso: julio-2008
Ubicación: 18°30'N, 69°59'W
Mensajes: 4.879
Antigüedad: 15 años, 9 meses
Puntos: 416
Respuesta: Print de fecha en idioma español

Usa setlocale() + strftime()

http://www.php.net/manual/en/function.setlocale.php

Código PHP:
<?php
setlocale
(E_ALL'Spanish');
echo 
strftime('%A %d de %B %Y',strtotime($row['fechaFactura']));
?>
EDIT: Me faltaba decirte que usaras strftime.

Última edición por Ronruby; 19/12/2008 a las 14:24