可以用STRTOTIME 这个函数,先将其转成UINX时间戳 $time=strtotime("2010-11-1"); $time=strtotime("+30 days",$time); $time= date('y.m.d',$time);
php 日常开发积累
最新推荐文章于 2015-10-14 12:56:01 发布
可以用STRTOTIME 这个函数,先将其转成UINX时间戳 $time=strtotime("2010-11-1"); $time=strtotime("+30 days",$time); $time= date('y.m.d',$time);