I used the following PHP code in shared hosting and it worked just fine:
$tzFrom = new DateTimeZone('America/New_York');
Now I am trying to use the same code on a virtual server and I get this error:
Fatal error: Class 'DateTimeZone' not found in /var/www/vhosts/...com/httpdocs/.../footer10.php on line 69
Any idea why it's not working on the virtual server?
Thanks in advance,
John