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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Function to figure what the first day of the month is

Status
Not open for further replies.

ac11nyc

Programmer
Joined
Oct 1, 2003
Messages
94
Location
US
Does anyone have a function that calculates the first day of every month and determines whether or not it is a weekend?
 
You should use the
Code:
DateTime.DayOfWeek
property, which returns a
Code:
System.DayOfWeek
value indicating which day of the week it is on the specified DateTime.

regards,
Blaxo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top