得到指定日期的周数

using System.Globalization;

GregorianCalendar gc = new GregorianCalendar();
MessageBox.Show

((gc.GetWeekOfYear e.Start,CalendarWeekRule.FirstFullWeek,DayOfWeek.Monday)).ToString());

e.Start为日期

posted on 2009-03-18 15:39  QZB.NET  阅读(180)  评论(0编辑  收藏  举报