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 )
thanks for looking in.
Adam Ramadhan
Use strtotime()
echo date('d-m-Y', strtotime("+1 week")); //1 week in the future echo date('d-m-Y', strtotime("-1 week")); //1 week ago
2.1m questions
2.1m answers
60 comments
57.0k users