Vidyalelo
Ruby Programming · Q8

Working with Dates and Times in Ruby

Programming · Ruby Programming · question 8

Q8

What does the zone method return for a Time object in Ruby?

A.
Returns the time zone abbreviation of the Time object
B.
Returns the time zone of the Time object
Answer
C.
Returns the time zone ID of the Time object
D.
None of the above

Answer: Option B

Solution

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