Examveda
Examveda

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: Option D


Join The Discussion

Related Questions on Working with Dates and Times in Ruby