Convert an array of datetimes into a comma-separated string of hyphenated range expressions
Transforming Datetimes into Comma Separated Ranges A Guide Problem You have an array of datetimes and need to efficiently convert them into a comma separated st