解决方案 »

  1.   

    echo strtotime('04 April 2014 09:00 AM');
      

  2.   

    echo strtotime('04 April 2014 09:00 AM');
    得到结果:1396602000 
      

  3.   

    那是你的日期格式不对,删掉就可以了
    echo strtotime(str_replace('-', '', '04 April 2014 - 09:00 AM')); //1396573200
      

  4.   

    中间还有一个断线连接着呢 。。额,字符串处理问题那。$str = '04 April 2014 - 09:00 AM';
    $str1 = explode("-",$str);
    $str2 = join(" ",$str1);
    echo strtotime($str2);