I have a time to which I want to add an hour:
$time = \'10:09\';
I\'ve tried:
$time = strtotime(\'+1 hour\'); strtotime(\'+1
for this problem please follow bellow code:
$time= '10:09'; $new_time=date('H:i',strtotime($time.'+ 1 hour')); echo $new_time;` // now output will be: 11:09