A

Admin • 831.35K Points
Coach

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

  • (A) Returns the year of the Time object
  • (B) Formats a Time object into a string according to the specified format
  • (C) Returns the day of the week of the Time object
  • (D) Returns the year of the Time object
  • Correct Answer - Option(B)
  • Views: 13
  • 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.