I am trying to get an easy way to obtain the Week Number for a given date. I have found the following GetWeekNumber function but it is not the same number that RadCalendar displays.
public static int GetWeekNumber(DateTime dtPassed)
CultureInfo ciCurr = CultureInfo.CurrentCulture;
int weekNum = ciCurr.Calendar.GetWeekOfYear(dtPassed, CalendarWeekRule.FirstFourDayWeek, DayOfWeek.Monday);
Does anyone know how to retrieve the Week number display in the Rad Calendar?
Does anyone know how to select a week based on a Week number in the Rad Calendar?
Your response to this thread would be excellent.