class Time

def prev_day(days = 1)

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