1.

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()I had been asked this question in examination.This intriguing question originated from Working with Dates in portion File and Session Handling in PHP of PHP

Answer»

Right ANSWER is (b) getTranitions()

BEST explanation: This outputs a multidimensional array listing PAST and future changes to the offset from UTC for a DateTimeZone OBJECT.



Discussion

No Comment Found

Related InterviewSolutions