LASTXWEEKS

Get the date interval for the last X weeks. The first day of the range is a Sunday and the last date is a Saturday.

Parameter List

Syntax
LASTXWEEKS(weeks)
weeks

The number of weeks counting backward from last sunday.

Examples

LASTXWEEKS(1) returns [2021-05-02;2021-05-08]