$arr = date_parse_from_format ( "Y年m月d日" , "2015年10月12日" );$timestamp = mktime(0,0,0,$arr['month'],$arr['day'],$arr['year']); 转载于:https://www.cnblogs.com/sensai-sun/p/7910054.html