adjust date search to work for a single day