If you use the expression
‘Thanksgiving is on ‘ addWeeks(date(’11/1/2018’),4)
It will return the date for wed November 28,2018. However if you change the date to 11/5/2018 it works as expected mon, November 26, 2018.
From testing it seems that if the beginning of the month starts before Sunday it gets hung up on Sunday, and evaluates it twice. Thus making date off by one day. If you try this for 2019, it errors the same. However 2020 works correctly since 11/1 is on a Sunday.
Same thing happens if you try to add 21 days to the date.
This only seems to be happening for November, from my limited testing. Is this because of DAilight savings time change on nov 4th?
Any suggestions on to work around or fix?