Small PHP project which should take no longer than an hour.
The code is attached is the method I need altering, this belongs to an object which is part of a larger application so any changes made should not break compatibility.
If you loook the at the code you will see it returns an array of dates, it operates on the quarter that is passed to it, we operate with the following quarters;
Jan-Mar - quarter 1
Apr-Jun - quarter 2
Jul-Sep - quarter 3
Oct-Dec - quarter 4
the code curretly just outputs the dates but we need this to output each week starting on the Monday, so you will need to cycle through the dates and find the next Monday to that date, all weeks that the method returns should be formatted exactly as they are now, the only difference is the dates it returns will always start Monday plus display the correct date and month like they are shown now.
This is a fairly complicated job so no time wasters please be sure you can complete this without problems.