<?php $data = new DateTime('now', new DateTimeZone("America/Sao_Paulo")); echo 'TimeStamp: '. ($data->getTimestamp() + $data->getOffset());
Standard input is empty
Standard output is empty
PHP Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (America/Sao_Paulo)' in /home/uedvvu/prog.php:2 Stack trace: #0 /home/uedvvu/prog.php(2): DateTimeZone->__construct('America/Sao_Pau...') #1 {main} thrown in /home/uedvvu/prog.php on line 2