Returns a range of the most recent full month. Can only be used as a range
parameter in for_date_range().
The time range selected for a report does not affect this function. That is, no matter what time range is selected for a report, this function always returns the most recent full month based on today's date.
Syntax
last_month()
Example
Clicks.for_date_range(last_month())
:- If today is March 15th, returns the number of clicks from the most recent February.
- If today is March 31st, returns the number of clicks from the most recent February, since March isn't yet complete.
- If today is April 1st, returns the number of clicks from the most recent March.