Examveda

What is the purpose of the zone method for a Date object in Ruby?

A. Returns the time zone abbreviation of the Date object

B. Returns the time zone offset of the Date object

C. Returns the time zone ID of the Date object

D. Returns the time zone of the Date object

Answer: Option D


Join The Discussion

Related Questions on Working with Dates and Times in Ruby