<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ## 時間處理 ```php $d1 = '2020-04-28'; $d2 = '2020-06-28'; // echo date('Y-m-t', strtotime("+30 days", strtotime($d1)));exit; // echo date('Y-m-t', strtotime("+1 month", strtotime($d1)));exit; // echo date('Y-m-t', strtotime("+3 days", strtotime($d1)));exit; // +1 days 此時慎用 strtotime modify 處理時間,遇跨月時處理不符合常規直觀。DateTime 是符合直觀的。感覺 strtotime 存在bug $d = new DateTime($d1); $d->modify('+30 days'); echo $d->format('Y-m-d'); exit; ``` ### 參考 https://www.laruence.com/2018/07/31/3207.html [https://www.php.net/manual/en/function.strtotime.php](https://www.php.net/manual/en/function.strtotime.php) [https://derickrethans.nl/obtaining-the-next-month-in-php.html](https://derickrethans.nl/obtaining-the-next-month-in-php.html)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看