<?php
$dt1 = new DateTime('now', new TimeZone('Australia/Perth'));
$dt2 = new DateTime('now', new TimeZone('Australia/Sydney'));
var_dump($dt1);
var_dump($dt2);
Fatal error: Uncaught Error: Class "TimeZone" not found in /in/dj3Ls:3
Stack trace:
#0 {main}
thrown in /in/dj3Ls on line 3
Process exited with code 255.
Fatal error: Uncaught Error: Class 'TimeZone' not found in /in/dj3Ls:3
Stack trace:
#0 {main}
thrown in /in/dj3Ls on line 3
Process exited with code 255.