![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
09/11/2015, 08:52
|
![Avatar de hhs](http://static.forosdelweb.com/customavatars/avatar516628_2.gif) | Colaborador | | Fecha de Ingreso: junio-2013 Ubicación: México
Mensajes: 2.995
Antigüedad: 11 años, 7 meses Puntos: 379 | |
Respuesta: Pasar de formato double a fecha en PHP Es sencillo:
Código PHP:
Ver original $date = new DateTime('20151109'); echo $date->format('Y-m-d');
__________________ Saludos About me Laraveles
A class should have only one reason to change. |