Which of the following statements can be used to set the time zone in individual scripts?
Which of the following statements can be used to set the time zone in individual scripts? Correct Answer date_default_timezone_set(‘Europe/London’);
The function date_default_timezone_set is used to set the default time zone used by all date/time functions in a script. You can also use ini_set(‘date.timezone’, ‘Europe/London’);