参考文档 http://php.net/manual/zh/function.strtotime.php
strtotime('-5 months',strtome('2017-07-31 10:10:10')) 得到的时间戳不是 2017-02-28,是 2017-03-03
如果是要获取N月开始的时间 可以加上前缀 first day of -5 months
参考文档 http://php.net/manual/zh/function.strtotime.php
strtotime('-5 months',strtome('2017-07-31 10:10:10')) 得到的时间戳不是 2017-02-28,是 2017-03-03
如果是要获取N月开始的时间 可以加上前缀 first day of -5 months