This custom PHP script was written to be included as part of a Views PHP field to summarize an array of dates into an easy to understand format. It was produced for the Bella Rose Arts Centre Automated Electronic Signage for displaying showtimes. It summarizes the array of dates by grouping, time, month, and year. It is flexible enough to handle single dates and even dates with the same time, years apart.
dateSummarizerForDrupalViewPHP.zip (1.86 KB)