I currently have php returning the current date/time like so:
$now = date("Y-m-d H:m:s");
What I'd like to do is have a new variable $new_time
equal $now + $hours
, where $hours
is a number of hours ranging from 24 to 800.
Any suggestions?