php 5.3 Fatal error Class DateTimeZone not found
datetime, namespaces, php
Solution
Try this:
$tZone = new \DateTimeZone("Europe/Amsterdam");
Problem
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?