Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

First Day of Week

Status
Not open for further replies.

dvannoy

MIS
May 4, 2001
2,765
0
0
US
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.

 
Are you getting a squiggly line under FirstDayOfWeek.Monday?
If so, hover your cursor over it and it will tell you what the problem is.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top