$str="2014-10-11";
   echo "".strtotime($str);
   echo "<br/>";
   echo "".time('Y-m-d');
    echo "<br/>";
   if(strtotime($str)>time('Y-m-d')){
        echo "未过期";
   }else{
   	   echo "过期";
   }
   

  

相关文章:

  • 2022-12-23
  • 2021-10-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-03
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案