generate a mysql BETWEEN clause to find within a date range

/ Published in: Rails
Save to your folder(s)

requires Rails libraries. could be rewritten to just use core Ruby libs, but I'm too lazy right now and I use this entirely in my Rails apps.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.