title: Date filtering not considering end date in sybase database
body: <p>I'm having a UI in which there are two date fields, start date and end date, when user selects a date range, the data from the end date is not displayed. the query for date filtering is :</p>
  
  <pre><code>    select * from dataTable where dateval between startdate and enddate.
  </code></pre>
  
  <p>So if i select startdate=1st June 2014 and enddate=12th June 2014, it wont display the records on the 12th of June. Please help.</p>