Vidyalelo
Ruby Programming · Q30

Working with Dates and Times in Ruby

Programming · Ruby Programming · question 30

Q30

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

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board