I am currently working on a calender script for my personal use. Therefore I need your help 🙂
I have two dates in format YYYY-MM-DD.
for example:
2012-05-12 and
2012-05-16
What I need is the dates between them:
2012-05-13
2012-05-14
2012-05-15
The output should be in an array. I dont now how to start anyway… so do u have a hint?
Output:
As Dan Lee said, I changed the function to get only the date interval, excluding the first and last day from array.