madd[9] = 273;
madd[10] = 304;
madd[11] = 334;
function GetBit(m, n) {
return (m >> n) & 1;
}
function e2c() {
TheDate = (arguments.length != 3) ? new Date() : new Date(arguments[0], arguments[1], arguments[2]);
var total,
m,
n,
k;
var isEnd = false;
var tmp = TheDate.getFullYear();
total = (tmp - 1921) * 365 + Math.floor((tmp - 1921) / 4) + madd[TheDate.getMonth()] + TheDate.getDate() - 38;
if (TheDate.getYear() % 4 == 0 && TheDate.getMonth() > 1) {
total++;
}
for (m = 0;; m++) {
k = (CalendarData[m] < 0xfff) ? 11: 12;
for (n = k; n >= 0; n--) {
if (total <= 29 + GetBit(CalendarData[m], n)) {
isEnd = true;
break;
}
江苏苏州:“以智为用”推动产业高质量发展
AI智能机器人走进“开学第一课”
DeepSeek“出圈”有望加速AI普及
山东莱芜:智慧农业让果蔬“南来北往”
河北唐山:鸡毛掸子“飞”上网
国家金融监督管理总局
互联网新闻信息服务许可证10120190012
京ICP备2024066810号-1
《求是》杂志发表习近平总书记重要文章《提高防灾减灾救灾能力》
习近平主席就哥伦比亚强震向哥伦比亚总统德拉埃斯普列亚致慰问电
学习新语|建设堪当民族复兴重任的高素质干部队伍
东方之约 相约未来
加油新规!11月起正式实施
王曼昱4:2战胜王艺迪,获得WTT欧洲大满贯女单冠军
莫迪誓言,印度将在2047年成为发达国家
人保财险护航三沙建设
金龙鱼上半年净利大增
贵州茅台半年报显韧性
百元保单里的养老底气
睿远基金多资产协同课
建信人寿支持实体经济
中信少年行信用卡发布
madd[9] = 273;
madd[10] = 304;
madd[11] = 334;
function GetBit(m, n) {
return (m >> n) & 1;
}
function e2c() {
TheDate = (arguments.length != 3) ? new Date() : new Date(arguments[0], arguments[1], arguments[2]);
var total,
m,
n,
k;
var isEnd = false;
var tmp = TheDate.getFullYear();
total = (tmp - 1921) * 365 + Math.floor((tmp - 1921) / 4) + madd[TheDate.getMonth()] + TheDate.getDate() - 38;
if (TheDate.getYear() % 4 == 0 && TheDate.getMonth() > 1) {
total++;
}
for (m = 0;; m++) {
k = (CalendarData[m] < 0xfff) ? 11: 12;
for (n = k; n >= 0; n--) {
if (total <= 29 + GetBit(CalendarData[m], n)) {
isEnd = true;
break;
}