php7.4 set timezone in php.ini code example Example: php change timezone date_default_timezone_set('America/Los_Angeles');