DateTimeZone class is built into php. If you get error that it's missing, then it's namespace problem.
Source code viewernew DateTimeZone('UTC');// Add a slash to solve the namespace problem.new \DateTimeZone('UTC');Programming Language: PHP