Forum Discussion
wyanjaspew
3 years agoAdvocate I
Date.AddDays(DateTime.LocalNow(), (-3))
Hi Sirs / M'am, anyone can help please. thanks
- Anonymous3 years ago
...Date.AddDays(DateTime.LocalNow(), -3))
Note that you are using a datetime value to test equality against what appears to be a date column. I would wrap DateTimeLocalNow() with a Date.From, so
Date.AddDays(Date.From(DateTime.LocalNow()), -3))
--Nate
Mekist
1 year agoHelper III
Hello
If the date falls on the weekend, how should I say -2 days out?