Is there a way to calculate start and end date in YYYY-MM-DD format given a year and a week number?
For example, week 3 of 2019 goes from 2019-01-14 to 2019-01-20.
I've thought about using mktime
and then adding +7 days, but it has no week parameter.
I'm using PHP 5.6