文件名称:weekday
- 所属分类:
- C#编程
- 资源属性:
- [Text]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- super*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
算法如下:
基姆拉尔森计算公式
W= (d+2*m+3*(m+1)/5+y+y/4-y/100+y/400) mod 7
在公式中d表示日期中的日数,m表示月份数,y表示年数。
注意:在公式中有个与其他公式不同的地方:
把一月和二月看成是上一年的十三月和十四月,例:如果是2004-1-10则换算成:2003-13-10来代入公式计算。-Algorithm is as follows:基姆拉尔森formula W = (d+2* m+3* (m+1)/5+ y+ y/4-y/100+ y/400) mod 7 in the formula d said the date the number of days, m said the number of months, y said that the number of years. Note: In the formula and other formulas have a different place: the January and February as the previous year Shisan Yue and Shi Siyue, example: if it is then converted into 2004-1-10: 2003-- 13-10 to represent into the formula.
基姆拉尔森计算公式
W= (d+2*m+3*(m+1)/5+y+y/4-y/100+y/400) mod 7
在公式中d表示日期中的日数,m表示月份数,y表示年数。
注意:在公式中有个与其他公式不同的地方:
把一月和二月看成是上一年的十三月和十四月,例:如果是2004-1-10则换算成:2003-13-10来代入公式计算。-Algorithm is as follows:基姆拉尔森formula W = (d+2* m+3* (m+1)/5+ y+ y/4-y/100+ y/400) mod 7 in the formula d said the date the number of days, m said the number of months, y said that the number of years. Note: In the formula and other formulas have a different place: the January and February as the previous year Shisan Yue and Shi Siyue, example: if it is then converted into 2004-1-10: 2003-- 13-10 to represent into the formula.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
weekday.txt