I've thought of that. Except, when I replace
convert(datetime,b.dateval) >= DateADD(year,-@Years,GetDate()) and convert(datetime,b.dateval) <= getdate()
with
DATEDIFF(day, convert(datetime,b.dateval), getdate()) <= @Years*365)
which also has the convert date statement, it doesn't give me...