php 中文时间转换
formatted('2012月-12月-30日');
function formatted ($time){
if(empty($time)){
return 0;
}
$t = explode("年", $time);
$st = $t[0];
$t = explode("月", $t[1]);
$st =$st.'-'. $t[0];
$t = explode("日", $t[1]);
$st = $st.'-'.$t[0];
return strtotime($st);
}