Examveda

How do you find the number of days between two Date objects in Ruby?

A. Use the delta method with the days option

B. Use the difference method with the days option

C. Subtract one Date object from another

D. Use the days_between method

Answer: Option C


Join The Discussion

Related Questions on Working with Dates and Times in Ruby