Eliminate redundant months and years in date lists – PHP
I have a problem condensing a large list of dates. The source code can be seen here https://onlinephp.io/c/d8277 Source code: <?php function list_date($array = []) { $events = $array; for ($i = 0; $i < count($events); $i++) { $this_event =…