Hi all,
I want to return all values in tbl where class_start is one day ahead of today's date.
class_start data is 25/07/2006 13:00:00
SELECT * FROM class WHERE class_start = DATEADD(day,-1,getdate())
Think the issue is the time. How do I solve this?
Also tried...
SELECT * FROM class WHERE class_start = DATEADD(d,DATEDIFF(d,0,GETDATE()),-1)
Thanks,
Kevin.