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’);

Related Questions

Which API allows scripts in a document from one server to exchange messages with scripts?
The total population of 10 countries in the Asian zone is greater than the total population of 11 countries in the European zone. What can we say if one of the countries is dropped from the Asian zone ?
What is the difference, in seconds, between the current timestamp in the GMT time zone and the current timestamp in your local time zone?
Which directive determines whether PHP scripts on the server can accept file uploads?