I’ve been racking my brains over this, but it’s late on a Friday and I’m going round in circles.
I need to create a list of working weeks for a drop down list, with the week number as the value. So the code would output:
Monday 22nd August – Friday 26th September
Monday 29th August – Friday 2 September
Monday 5th September – Friday 9 September
etc..
For the whole year. Any ideas how I would achieve this?
Thanks.
I think the code below complies with ISO 8601: