php datetime set time code example Example: php date set utc hours <?php date_default_timezone_set('America/Los_Angeles'); ?>