count(DATE(created_at)) will provide the same number as count(created_at), so you don't need to do conversion inside the count
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community