2009-12-31 240 views

回答

2

你可以做到這一點與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')); 
相關問題