Today I found this function that says how many days were in a month cal_days_in_month()
. But what I am wanting to do is list all the days into array, something like this.
$days = array(
"2012-11-01","2012-12-01","2012-13-01"...etc
)
Could someone point me into the right direction?
Kind regards Frank!
See it in action
Reference