Home / Report Question

Q. 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

Correct Answer: D