Home / Programming MCQs / Ruby MCQs / Question

M

Mr. Dubey • 51.43K Points
Coach

Q. What does the utc method do for a Time object in Ruby?

(A) Converts the Time object to the number of seconds since the Unix epoch
(B) Returns the time zone of the Time object
(C) Converts the Time object to the user's local time zone
(D) Converts the Time object to Coordinated Universal Time (UTC)

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.