Examveda
Examveda

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

A. difference_in_weeks

B. weeks_between

C. weeks_difference

D. subtract_weeks

Answer: Option A


Join The Discussion

Related Questions on Working with Dates and Times in Ruby