Vidyalelo
Ruby Programming · Q10

Working with Dates and Times in Ruby

Programming · Ruby Programming · question 10

Q10

Which method is used to find the number of days between two Date objects in Ruby?

A.
days_until
B.
days_difference
C.
subtract_date
D.
difference_in_days
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board