How to get the date of a specific week in a specific year?
For example: I have the data week 30, year 2009 – how I can get the date of the week?
Language is C#
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A sample for code that does it:
This code assumes that the work week start on the day of the 1/1/YYYY (meaning week can start from Wednesday for example).
If you want to normalize it to Sunday: