A

Admin • 828.03K Points
Coach

Q. What does the to_date method do when applied to a Time object in Ruby?

  • (A) Converts a Time object to a Date object
  • (B) Converts a Time object to a string
  • (C) Converts a Time object to a number of seconds since the Unix epoch
  • (D) Converts a Time object to a number of milliseconds since the Unix epoch
  • Correct Answer - Option(A)
  • Views: 8
  • Filed under category Ruby
  • Hashtags:

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.