I'm trying to find an existing helper function that will accept a start and end date and interval (day, week, month, year), and will return an array each day, week month or year in that range.
Would love to find a pre-existing one if it's out there.
Thanks!