This question already has an answer here:
I have the following problem.
In the employees table I store the free days of the week that has an employee. For example The free days of John are always on Monday.
So, I want to get all the dates for a year that falls on Monday.
For example in this month (Today is the 24-05-2016) the dates are for Monday:
All this dates are on Mondays:
02-05-2016,
09-05-2016,
16-05-2016,
23-05-2016,
30-05-2016
and so on.
Is there a way to do that in PHP?
Thanks
</div>