Use date objects where we want dates instead of datetime objects.