changed to use date instead of datetime
changed to use date instead of datetime
changing datetime to date
mergin