DateTime.DayOfWeek is an enum. using
CInt(DateTime.DayOfWeek) will give you its numeric representation.
If you mean "week 12 of the year", then you need to do the calc yourself:
DateDiff(DateInterval.WeekOfYear, DateTime.Now, New
DateTime(DateTime.Now.Year, 1, 1))
You probably want to add one to that so that Jan1 is on the "first" week,
instead of the "zeroth" week
Also note the "FirstDayOfWeek" and "FirstWeekOfYear" optional parameters.