changes db query to Time.zone.today