Obtaining the Week Number for a Date (C#)

added by BlackWasp
12/20/2011 9:54:30 AM

4 Kicks, 303 Views

Accounting software, time-keeping utilities and calendar applications often present dates using week numbers that commence at the beginning of the year. Using the .NET framework's Calendar class a week number can be calculated using a number of rules.


1 comments

dpeterson
12/20/2011 9:54:42 AM
Didn't know about the Calendar class. Glad to know it's there before I go do something silly like try to write my own date calculation functions!