title: Select between dates with wildcard mysql
body: <p>I am trying to select between two dates, but in the table they have timestamps after them.</p>
  
  <p>Example: calldate is 2010-03-16 22:43:28</p>
  
  <p>How would I select this using calldate between '$date1' AND '$date2' to wildcard the timestamp after the date?</p>
  
  <p>I tried using like but it didn't work </p>
  
  <p>I just want to do between '$date1%' AND '$date2%'</p>
  
  <p>Anyone know how to do this?</p>
  
  <p>Thank you in advance!</p>