M

Mr. Dubey • 53.53K 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)
  • Correct Answer - Option(D)
  • Views: 77
  • Filed under category Ruby

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.

Be the first to start discuss.


Question analytics