zoukankan
html css js c++ java
蔡基姆拉尔森计算公式
已知当前的日期,即xxxx年xx月xx日,计算出当前是星期几
W= (d+2*m+3*(m+1)/5+y+y/4-y/100+y/400+1) mod 7
在公式中d表示日期中的日数,m表示月份数,y表示年数。
注意:在公式中有个与其他公式不同的地方:
把一月和二月看成是上一年的十三月和十四月,例:如果是2004-1-10则换算成:2003-13-10来代入公式计算。
查看全文
相关阅读:
[ERROR]SFTP is not available
[BTS] Loading property information list by namespace failed or property not found in the list. Verify that the schema is deployed properly.
IBatisNet系列执行存储过程
NickLee.FortuneBase数据库sql server修正版
NickLee.FortuneBase数据库sql server版新增页面详细说明
实战CRM系统项目:1.需求分析
项目实战之CRM系统(一)前言
ASP.NET基础权限系统
NickLee.FortuneBase数据库sql server版新增页面视频演示
NickLee.FortuneBase数据库sql server版工具篇
原文地址:https://www.cnblogs.com/ACPIE-liusiqi/p/8681548.html
最新文章
[BTS] WCFSAP Connect to SAP gateway failed
[BTS] An internal server error was encountered while attempting to transmit the message
[BTS]Clear BizTalkMsgBoxDb (2)
[BTS] Correct the specified Action, or refer to the documentation on the allowed formats for the Actions. Note that Actions are casesensitive.
[BTS] Failed to remove selected resources
[BTS] 指定的转换无效
[BTS] RFCTYPE RFCTYPE_DATE with length 8 and decimals 0 to XML format
[BTS] 应用程序中的错误。 (Microsoft.BizTalk.ExplorerOM)
[BTS] Event ID 10036
[SQL]RML Utility
热门文章
[BTS] Failed to add resources to application.
[BTS] 错误详细信息: SendPort 属性中存在错误: 值不能为 null.
[SQL]Table Description
[SQL]Query table space in Database
[BTS]Object reference not set to an instance of an object
[BTS]Failed to execute SQL Statement.
[BTS] Could not find stored procedure 'mp_sap_check_tid'
[BTS] Exception type: FileNotFoundException
[BTS] Unable to create the transform
[BTS]Clear BizTalkMsgBoxDb
Copyright © 2011-2022 走看看