2009-12-31 14 views

Respuesta

2

Usted puede hacer esto con strtotime():

echo date('H:i', strtotime('6.:15pm')); 
1
//Call this once before the 1st date/time operation 
date_default_timezone_set('Europe/Zurich'); 

echo date('H:i', strtotime('6:15pm')); 
Cuestiones relacionadas