Q. 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
πŸ’¬ Discuss
βœ… Correct Answer: (D) difference_in_days

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
287
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
87%
Success Rate