I can`t figure out the code to get the date from monday depending on the week number of this year.
could someone help me with this code?
thanks.
I can`t figure out the code to get the date from monday depending on the week number of this year.
could someone help me with this code?
thanks.
This will provide the Monday of a certain week this year:
$thisYear = date('Y');
$weekNum = 40;
$date = date('Y-m-d', strtotime("$thisYear-W$weekNum-1")); // Outputs 2013-09-30