Help - trying to setFilter using Date

@mike70099 have you declared “today” as a Date object? setHours will give you that error if today isn’t a Date. If for instance you did today = Date.Now() then today is likely an integer and that won’t work. You need to use today = new Date();

This explains it further.