今天,也就是10月31號,執(zhí)行一下代碼:echodate('Ym',strtotime("-1month"));返回的結果是201410,是不是說明類似strtotime("-1month")是不可信的?定義了時區(qū)。php-vPHP5.4.33-1~dotdeb.0(cli)(built:Sep19201412:00:21)Copyright(c)1997-2014ThePHPGroupZendEnginev2.4.0,Copyright(c)1998-2014ZendTechnologies
關于PHP中時間計算的"-1 month"?
幕布斯6054654
2019-04-13 08:46:45