Home / Programming MCQs / Ruby MCQs / Question

M

Mr. Dubey • 51.32K Points
Coach

Q. What does the at_beginning_of_day method do for a DateTime object in Ruby?

(A) Sets the time of the DateTime object to 23:59:59
(B) Sets the date of the DateTime object to the beginning of the year
(C) Sets the time of the DateTime object to 00:00:00
(D) Sets the date of the DateTime object to the beginning of the month

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.