LASTXMONTHS

Get the date interval for the last X months.

Parameter List

Syntax
LASTXMONTHS(months)
months

The number of months prior to the current one.

Examples

LASTXMONTHS(1) returns [2021-04-01;2021-04-30]