固定格式时间转换时间戳

$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