Add 15 days to modify the timestamp in PHP
Description
The following code shows how to add 15 days to modify the timestamp.
Example
// ww w. j a v a2 s . c om
<?php
$date=date_create("2013-05-01");
date_modify($date,"+15 days");
echo date_format($date,"Y-m-d");
?>
The code above generates the following result.