Find number of months between two Dates in Ruby on Rails December 29, 2022 by Tarik (date2.year * 12 + date2.month) - (date1.year * 12 + date1.month) more info at http://www.ruby-forum.com/topic/72120