日期转换为时间戳$date="2013-10-0112:23:14";转储(strtotime($date));//=>1380601394时间戳转换为日期##{$date|date="y-m-d",###}//=>2013-10-01
Thinkphp5日期和时间戳转换相关文章