added print statements for date search debug
changed date in db from string to date format