strtotime 中月份是0的巧妙应用,按照上年12月份算

  • strtotime 中月份是0的巧妙应用,按照上年12月份算
        $timestamp = strtotime('2021-00-03');
        echo date('Y-m-d',$timestamp);
        exit;

        2020-12-03
相信坚持的力量,日复一日的习惯.
原文地址:https://www.cnblogs.com/pansidong/p/15305020.html