How can I get the start and end date of a given year (int), given month (int), and given week (int) { example Year : 2011 Month: 07 week: 04 } in c# 4.0? Thanks in advance.
The Start Date of the Year 2011 Month 07 and the week number of the month is 04.
Google is your friend.
Months:
You can do something similar for years:
And week needs to use the CultureInfo.FirstDay (or whatever you want to set as the first day of a week, in some countries it’s Monday, sometimes it’s Sunday).