SyntaxFix
Write A Post
Hire A Developer
Questions
SELECT user_id FROM user_logs WHERE login_date BETWEEN '2014-02-01' AND '2014-03-01'
Between keyword works exceptionally for a date. it assumes the time is at 00:00:00 (i.e. midnight) for dates.