class Time

def prev_month(months = 1)

Returns a new time the specified number of months ago.
def prev_month(months = 1)
  advance(months: -months)
end