摘要:
查看今天是今年的第几周publicstaticintWeekOfTheYear(){//获取CultureInfomyCI=newCultureInfo("zh-CN");System.Globalization.CalendarmyCal=myCI.Calendar;//日期格式CalendarWeekRulemyCWR=myCI.DateTimeFormat.CalendarWeekRule;DayOfWeekmyFirstDOW=myCI.DateTimeFormat.FirstDayOfWeek;//本周为第myCal.GetWeekOfYear(DateTime. 阅读全文
posted @ 2011-11-21 13:23 X龙 阅读(13134) 评论(0) 推荐(0) 编辑