Posted By

czapata on 02/06/09


Tagged

php date


Versions (?)

PHP Date Add


 / Published in: PHP
 

Thanks to Oscar

  1. $myDate = date('Y-m-d', strtotime("+7 days"));
  2. $myDate = date('Y-m-d', strtotime("-7 days"));

Report this snippet  

You need to login to post a comment.