Vidyalelo
PHP · Q20

Date And Timestamp

Programming · PHP · question 20

Q20

Which method enables you to calculate whether daylight saving time is in force at a specific date and time?

A.
getOffset()
B.
getTranitions()
Answer
C.
ISODate()
D.
savingTime()

Answer: Option B

Solution

Answer: Option B
Solution:
This outputs a multidimensional array listing past and future changes to the offset from UTC for a DateTimeZone object.