Which one of the following format parameter can be used to identify timezone in PHP?
Correct answer
C. E
11 views
C. E
11 views
The format character e returns the timezone identifier, such as Asia/Karachi or UTC, when used with date() or DateTime::format().
Related characters are easy to mix up: T gives the timezone abbreviation (PKT, EST), I shows whether daylight saving time is in effect, and N is the ISO day of the week.
For more solved questions like this one, see Computer Science MCQs on MCQsExam.com.
Not sure why the answer is C? Ask here and get an explanation.