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.Related Questions on Date and Timestamp
A. TRUE
B. FALSE
C. Valid
D. Invalid
The date() function returns ___ representation of the current date and/or time.
A. Integer
B. String
C. Boolean
D. Float
If the format is F then which one of the following will be returned?
A. Complete text representation of month
B. Day of month, with leading zero
C. Daylight saving time
D. Day of month, without zeros
Join The Discussion