How can I have a date minus one day without any time value?
DatetimeAdd(ToDate(DatetimeNow()),-1,"days")
This gives me yesterdays date but with 00:00:00 behind it.
DateTimeFormat(DateTimeToday(),"%Y-%m-%d")
This gives me the date without time but I cannot adjust it for -1 day.
The output that I'd like to see for 2020-05-27 (today) is 2020-05-26.