strtotime('next month')
一ヶ月後のタイムスタンプを求める。しかし戻り値がおかしい。まさか…
http://nyx.pu1.net/function/datetime/strtotime.html
単語 使用方法 next +1 と同様
※但しバージョン4.4より前のPHPでは、誤って+2として計算されます。
おおぅ…。
strtotime('+1 month')
にして解決。
一ヶ月後のタイムスタンプを求める。しかし戻り値がおかしい。まさか…
http://nyx.pu1.net/function/datetime/strtotime.html
単語 使用方法 next +1 と同様
※但しバージョン4.4より前のPHPでは、誤って+2として計算されます。
おおぅ…。
strtotime('+1 month')
にして解決。