PHP: Add number of days to a date

echo date('Y-m-d', strtotime("+14 days"));

See the manual pages for
http://www.php.net/manual/en/function.strtotime.php 
http://www.php.net/manual/en/function.date.php

Comments

Popular posts from this blog

PHP: Date Difference for PHP 5.2

HTML5 video loop src change on end play function

Custom OpenCart 2.3.0.2 theme