Menu
Hello,
If I have a string in the YearWeek format, say `201950
I have an array of dates in the yearweek format and I want to convert them into dates.
From my research it seems that I have to go through this array and append a ‘W’ in between the year and the week number, like ‘2019W50’
and then run `strftime(‘%Y/%m/%d’, strtotime(‘2019W50’));
Is there an easier way?
Thank you