I would like to generate a date using the ISOweeknumber, year and dayoftheweek in C#; any help or suggestions please? I am still new to C# and would appreciate some help.
Asked
Active
Viewed 29 times
0
-
Could you please add an example? – sujith karivelil May 02 '17 at 11:29
-
So you have something like this: `2004-W53-6` and you want to convert it to `DateTime`? – Tim Schmelter May 02 '17 at 11:33
-
The date is being generated like 'week 10, 2016' and i would like to create a function to generate the actual date. – julius May 02 '17 at 11:50
-
Possible duplicate of [Calculate date from week number](http://stackoverflow.com/questions/662379/calculate-date-from-week-number) – Pikoh May 02 '17 at 11:53
-
I need to pass three parameters, ISO week, year, dayOfWeek, cannot understand how exactly is being calculated using the function of mikael svenson – julius May 02 '17 at 12:03
-
Look in the duplicate I posted the @GEORGEBAXTER answer, I think it should do exactly what you want – Pikoh May 02 '17 at 13:32