Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

new DateInterval 1 hour

$time = 'Tue May 15 10:14:30 +0000 2012';
$dt = new DateTime($time);
$dt->add(new DateInterval('PT1H'));
 
PREVIOUS NEXT
Tagged: #DateInterval #hour
ADD COMMENT
Topic
Name
9+9 =