0
$selectedDate = "1365465600";
echo $selectedDate;//Output : 1365465600
echo date("Y-m-d",$selectedDate);//Output : 2013-04-09
echo strtotime(date("Y-m-d",$selectedDate));//Output : 1365445800
为什么最后一条语句没有产生输出:1365465600
。这里有什么问题?在时间和日期函数中获得意想不到的结果
因为小时,分钟和秒,这你忽略 – 2013-04-09 11:30:33