php时间格式化问题 求解代码:echo ''; echo $newsList [0] [date] ; echo ''; echo date ( 'Y-m-d',$newsList[0][date]);ログイン後にコピー 输出:2012-10-18 09:27:311970-01-01为嘛两次不一样啊要崩溃了。。。求解 ------解决方案--------------------echo date ( 'Y-m-d',strtotime($newsList[0][date]));