文件名称:puanduanxingqiji
介绍说明--下载内容均来自于网络,请自行研究使用
语言根据日期判断星期几(使用基姆拉尔森计算公式)
算法如下:
基姆拉尔森计算公式
W= (d+2*m+3*(m+1)/5+y+y/4-y/100+y/400) mod 7
在公式中d表示日期中的日数,m表示月份数,y表示年数。-Language in accordance with the dates of the week (using the formula for calculating基姆拉尔森) 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 express the date in the number of days, m said a few months, y express the number of years.
算法如下:
基姆拉尔森计算公式
W= (d+2*m+3*(m+1)/5+y+y/4-y/100+y/400) mod 7
在公式中d表示日期中的日数,m表示月份数,y表示年数。-Language in accordance with the dates of the week (using the formula for calculating基姆拉尔森) 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 express the date in the number of days, m said a few months, y express the number of years.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
输入一个日期判断它是星期几.doc