会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
别追不累的羊
博客园
首页
新随笔
新文章
联系
订阅
管理
2010年11月16日
[转]C#中怎么计算当前日期是在一年中的第几周
摘要: 方法一:private int WeekOfYear(string date) { DateTime curDay = Convert.ToDateTime(date); int firstdayofweek = Convert.ToInt32(Convert.ToDateTime(curDay.Year.ToString() + "- " + "1-1 ").DayOfWeek); int da...
阅读全文
posted @ 2010-11-16 10:10 金熊
阅读(627)
评论(1)
推荐(0)
编辑