how to add 6 hours to timestamp in php code example
Example 1: php add hours to current date
$new_time = date("Y-m-d H:i:s", strtotime('+5 hours'));
Example 2: php date set utc hours
<?php
date_default_timezone_set('America/Los_Angeles');
?>
$new_time = date("Y-m-d H:i:s", strtotime('+5 hours'));
<?php
date_default_timezone_set('America/Los_Angeles');
?>