I use this code in vb.net to get week numbers for our work week. t1.Text = DatePart(DateInterval.WeekOfYear, myDate, FirstDayOfWeek.Monday, FirstWeekOfYear.System)
I want the first day of the week to start on monday as in the above code. in asp.net, I can't seem to set the FirstDayOfWeek.Monday This is giving me an error and I can't figure this out.
any help would be appreciated.
I want the first day of the week to start on monday as in the above code. in asp.net, I can't seem to set the FirstDayOfWeek.Monday This is giving me an error and I can't figure this out.
any help would be appreciated.