SyntaxFix
Write A Post
Hire A Developer
Questions
$tz = new DateTimeZone('Europe/London'); $date = new DateTime($today, $tz); $date->modify('+10 hours'); // use $date->format() to outputs the result.
see DateTime Class (PHP 5 >= 5.2.0)