BUGののstrtotime

strtotime( '+ 1ヶ月分)、のstrtotime( ' - 1月')などのstrtotime( '+ 1月'、のstrtotime(「2019年10月31日として、月28、31日に問題が発生していますが「))12月ではなく11月にジャンプします。

一般的な使用は、だから、 

strtotime(「+ 1ヶ月の最後の日」)

 

若しくは

strtotime(「1月の最初の日」)

 

おすすめ

転載: www.cnblogs.com/pyspang/p/11871012.html