how to categorize data in the database through this date format , m-Y-d.
that dates from database uses timestamp and I dont want to include time.I just wanted the date from timestamp
I want to fetch the data with the date stored in my database.But this date uses timestamp.I want to categorize the data and I dont want to include the time only dates
Here's the code in my controller if you can see, I'm trying to get the distinct Date but I cant I dont know how to display only the dates without repeating because of the Timestamp.