method
prev_month
v5.2.3 -
Show latest stable
- Class:
DateAndTime::Calculations
prev_month(months = 1)public
Returns a new date/time the specified number of months ago.
prev_month(months = 1)Returns a new date/time the specified number of months ago.