![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
04/05/2004, 11:19
|
![Avatar de ancubero](http://static.forosdelweb.com/customavatars/avatar45630_1.gif) | | | Fecha de Ingreso: octubre-2003 Ubicación: San Jose Costa Rica
Mensajes: 54
Antigüedad: 21 años, 3 meses Puntos: 0 | |
Hey Cluster Muchas gracias por la ayuda esta funcion no la hice yo pero me la encontre en internet buscando hacer del explode muchas gracias
$fecha =$_GET[Date];
function convertDateD1($fecha,$formatD1='l, F d, Y')
{
$dD1 = explode('-', $fecha);
return date($formatD1, mktime(0, 0, 0, $dD1[1], $dD1[2], $dD1[0]));
}
$DateD1 = convertDateD1($fecha);
Pura vida. |