today 22-05-2011 so it should be 29-05-2011? ( plus 1 week )
or
today 22-05-2011 so it should be 15-05-2011? ( minus 1 week )
感谢您的关注。
亚当·拉马丹
Use strtotime() http://php.net/manual/en/function.strtotime.php
echo date('d-m-Y', strtotime("+1 week")); //1 week in the future
echo date('d-m-Y', strtotime("-1 week")); //1 week ago
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)