Which Of The Following Statements Can Be Used To Set The Time #186
Which of the following statements can be used to set the time zone in individual scripts?
This multiple choice question (MCQ) is related to the book/course gs gs107 PHP: Hypertext Preprocessor. It can also be found in gs gs107 PHP File and Session Handling - PHP Dates and Time - Quiz No.1.
Which of the following statements can be used to set the time zone in individual scripts?
date_set_timezone(‘Europe/London’);
date_default_timezone_set(‘Europe/London’);
date_set_default_timezone(‘Europe/London’);
date_default_timezone(‘Europe/London’);