Bring Me Fly

Splitting a start and end date by interval in PHP