2009-12-31 20 views

risposta

2

Si può fare questo 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')); 
Problemi correlati