I tried, to run the following code, on PHP v5.3.13, but still getting the class not found error:
$tZone = new DateTimeZone("Europe/Amsterdam");
How can I use DateTimeZone on 5.3.13?
I tried, to run the following code, on PHP v5.3.13, but still getting the class not found error:
$tZone = new DateTimeZone("Europe/Amsterdam");
How can I use DateTimeZone on 5.3.13?
Try this:
$tZone = new \DateTimeZone("Europe/Amsterdam");