how to fchange default timezone in php mac code example Example: php change timezone date_default_timezone_set('America/Los_Angeles');