2007年7月28日

计算一年中的第几周/c#得到阳历对应农历日期

摘要: 一周从周日算起 DateTime mDatetime=new DateTime(year,1,1);//year为要求的那一年 int firstweekfirstday=Convert.ToInt32(mDTime.DayOfWeek);//一年中第一天是周几 days=(double)(6-firstweekfirstday); Da... 阅读全文

posted @ 2007-07-28 21:24 曾伟 阅读(8304) 评论(2) 推荐(0) 编辑

导航