I am using the code below to get the current week of the year:
DateTimeFormatInfo dfi = DateTimeFormatInfo.CurrentInfo;
Calendar cal = dfi.Calendar;
cal.GetWeekOfYear(DateTime.Now, dfi.CalendarWeekRule, dfi.FirstDayOfWeek);
Right now its 19-02-2016 and the week number is 7, but the code above returns display 8.
Can anyone tell me what is wrong with the code?