JOAOSANTACRUZ.COM

Change PHP TimeZone per Session

How to define a timezone (different from the server) per Session in PHP


						

# define PHP timezone
date_default_timezone_set('America/Sao_Paulo');

 

List of Supported Timezones

http://php.net/manual/en/timezones.php

 

Go Back