php change all timezone dates to utc code example
Example 1: php date set utc
<?php
date_default_timezone_set('America/Los_Angeles');
?>
Example 2: php change timezone
date_default_timezone_set('America/Los_Angeles');
<?php
date_default_timezone_set('America/Los_Angeles');
?>
date_default_timezone_set('America/Los_Angeles');