2014-10-08 46 views

回答

5
echo date('Y-m-d H:m:s', strtotime('today')); 
       ^
        | 
       months  

echo date('Y-m-d H:i:s', strtotime('today')); 
       ^
        | 
       minutes 
+1

哦,上帝!我一直在這樣編碼! – igonejack 2014-10-08 09:48:39

+0

@igonejack:+1,你讓我的一天:) – 2014-10-08 10:07:56

0
echo date('Y-m-d 00:00:00', strtotime('today'));