how to set timezone utc in php 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');