SyntaxFix
Write A Post
Hire A Developer
Questions
Supposing you use sql server:
WHERE StartTime BETWEEN DATEADD(HOUR, -1, GetDate()) AND DATEADD(HOUR, 1, GetDate())