I have a question and I hope you can help me with my query, it turns out that I'm doing a management Panel and I have to print in a dashboard widget the total number of users that have registered and I get it but I am interested in showing the sum of the records that go from the day , not the total that there is in the database, how would this do? I hope you can support me
PS: In the Bd there is the column Created_At in which the date and time in which a new user is registered is inserted.
The controler "DashboardController":
User :: count (), ]; return view ('admin.dashboard', $ data); } }
and print the variable as: