![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
Este es el script de un archivo confirmar.php que es en parte este:
date_default_timezone_set("America/Argentina/Buenos_Aires");
$hoy = strftime( "%Y-%m-%d %H:%M:%s" );
$ok_us=$conexion->Execute("UPDATE uss set confir='SI',fecha_y_hora='$hoy' where cod='$codigo'");
Luego en otro archivo realizo la consulta para ordenar el campo "fecha_y_hora" (DATATIME en su forma predeterminada es 0000-00-00 00:00:00) de la BD que es esta:
$conexion->Execute("SELECT * FROM uss where confir='SI' order by DATE_FORMAT(fecha_y_hora,'%d-%m-%Y') ASC");
Yo quisiera darla en este formato 01-ene-2007 en español a la parte de correspondiente a la fecha ademas de que este en forma de fecha calendario, pero no pasa nada la sigue tirando así 2007-02-01 y en abecedario.
Espero haber sido claro, si alguien me ayuda estare agradecido.....
Saludos!!!
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)