我无法为数据库中保存的日期回显正确的unix时间戳。$activeWorkRow['WorkDate']="9/24/20151:45:53PM";$locateDate=$activeWorkRow['WorkDate'];$locateDate=str_replace('/','-',$locateDate);//$locateDate=date('m-d-Y',strtotime($locateDate));//$locateDate=strtotime(date($locateDate));echo$locateDate."";输出:9-24-20151:45:53PM下一步: