Carbon provides the function weekOfYear to get the week of the year as integer. However I need to go the other way round to get the a date based on the year + the week of the year.
Carbon::now()->weekOfYear(); // todays week of the year
E.g.
- year: 2016
- week of year: 42
As a result i need the start and end date of this given week. However i cannot find a fitting function in the Carbon docs