2013-01-03 65 views

回答

5

您需要将日期字符串转换为时间戳:

echo date('Y-m-d', strtotime($date1));