SELECT * FROM tablename WHERE '2014-07-10' between checkindate and checkoutdate
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)