Why is pluck() and toDate() not working together? If I remove the pluck() part and add ->date() behind the $day variable, I get a list with all dates, but I want to remove the doubles.
And how do I get to my solution, where all the dates are taken from all subpages and the duplicates are deleted? + be able to use the toDate() function at the end?