dateinterval

Calculate date difference and print these days

I would like to calculate the difference of two dates and print all dates between them, for example: $data_inicio = new Dat ... he days that are in that range. Example: 09-02-2018, 10-02-2018 ..... 09-03-2018 and etc. How do I retrieve these values?