DayDiff expects two parameters and returns the number of days between them. Like this:
WHERE DayDiff(timestamp, GetUtcDate()) < 7 -- Matches all timestamps less than one week old
DayDiff expects two parameters and returns the number of days between them. Like this:
WHERE DayDiff(timestamp, GetUtcDate()) < 7 -- Matches all timestamps less than one week old