Date Search Between 2 Dates
I'm using DatePicker to choose all entries between two dates and it works with one exception it doesn't show the entries for the last day chosen. It ends with the day before's entries. Here is my search results page code
$WADbSearch1->addComparisonFromEdit("studentTimestamp","startDate","AND",">=",2);
$WADbSearch1->addComparisonFromEdit("studentTimestamp","endDate","AND","<=",2);
Is there something I'm missing?