<?php function getDateForWeekDay($year, $weekNo, $dayOfWeekNo) // return the exact date of this weekday, using ISO 8601 { $date = new DateTime(); $date->setISODate($year, $weekNo, $dayOfWeekNo); return $date->format('Y-m-d'); } echo getDateForWeekDay(2020, 34, 1);
You have javascript disabled. You will not be able to edit any code.