If you use DATEADD() to add/subtract from a date and there is a time change (daylight savings) between the input date and returned data then there is a chance that the returned date will be off by a day.
This was discovered when using DATEADD($date, -6) where $date was 2019-03-13, the returned date was 2019-03-06 when it should be 2019-03-07. Daylight savings started on 2019-03-10.
If you use DATEADD() to add/subtract from a date and there is a time change (daylight savings) between the input date and returned data then there is a chance that the returned date will be off by a day.
This was discovered when using DATEADD($date, -6) where $date was 2019-03-13, the returned date was 2019-03-06 when it should be 2019-03-07. Daylight savings started on 2019-03-10.