Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

adding days in datetime php

<?php
$date = new DateTime('2016-06-06'); // Y-m-d
$date->add(new DateInterval('P30D'));
echo $date->format('Y-m-d') . "
";
?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #adding #days #datetime #php
ADD COMMENT
Topic
Name
7+1 =