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