计算某一日期是在一年中第几周

var cld = System.Globalization.CultureInfo.CurrentCulture.Calendar;
cld.GetWeekOfYear(dt, CalendarWeekRule.FirstDay, DayOfWeek.Sunday);

posted @ 2015-02-07 21:33  疯吻IT  阅读(463)  评论(0编辑  收藏  举报