Click here to Skip to main content
15,891,409 members
Articles / DateTime
Alternative
Tip/Trick

DateTime extension method to give Week number

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
6 Sep 2011CPOL 5.4K   1  
What about that :CultureInfo.CurrentCulture.Calendar.GetWeekOfYear(pd_date, CalendarWeekRule.FirstFourDayWeek, DayOfWeek.Monday);
What about that :
CultureInfo.CurrentCulture.Calendar.GetWeekOfYear(pd_date, CalendarWeekRule.FirstFourDayWeek, DayOfWeek.Monday);

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
Unknown
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
-- There are no messages in this forum --