Examveda
Examveda

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

A. getOffset()

B. getTranitions()

C. ISODate()

D. savingTime()

Answer: Option B

Solution(By Examveda Team)

This outputs a multidimensional array listing past and future changes to the offset from UTC for a DateTimeZone object.

Join The Discussion

Related Questions on Date and Timestamp