wayliu的个人博客分享 http://blog.sciencenet.cn/u/wayliu

博文

原来不是四年一闰啊

已有 3533 次阅读 2014-1-29 11:39 |系统分类:人文社科

   查看IDL关于日期函数的帮助时,看到下面这段话:

Julian Dates and Times

Within IDL, dates and times are typically stored as Julian dates. A Julian date is defined to be the number of days elapsed since noon on January 1, 4713 BCE. Following the astronomical convention, a Julian day is defined to start at 12pm (noon). The Julian calendar, established by Julius Caesar in the year 45 BCE, was corrected by Pope Gregory XIII in 1582, excising ten days from the calendar. For dates after 4 October 1582, the calendar specifies that every 4 years is a leap year, except if the year ends in a "00" then it is not a leap year, unless it is also divisible by 400 (in which case it is a leap year).

   原来一直以为只要能够被4整除的就是闰年,不问所以然,于是想当然。今天搜索相关知识才知道真相是这样的:

   现时的公历回归年以1“年”为计算单位,而一个回归年大约等于365.24220日。因为在平年公历只计算365日,结果四年后便会累积0.24220×4=0.9688日,大约等于一日,所以便逢四年增加一日(闰日)以抵销这0.9688日。但四年增加一日比四个回归年又多0.0312日,400年后将多3.12日,故在400年中少设3个闰年,也就是在400年中只设97个闰年,这样公历年的平均长度与回归年就相近似了。

   当然,这样每400年还多了0.12日,4000年就多了1.2日,是不是在4000年的最后那一个400年,只少设2个闰年就可以了?也就是1600年是闰年,经历4000年的,5600年是闰年,5500年也可以设为闰年?好遥远的未来!不管了。

   于是真相应该是这样的:四年一闰,百年不闰,四百年闰。

参考赵海峰博客:http://www.zhaohaifeng.com/post/2225.html






https://blog.sciencenet.cn/blog-1197589-763176.html


下一篇:利用Excel+Powerpoint+PhotoShop实现任意高分辨率图表制作
收藏 IP: 113.108.192.*| 热度|

1 吕洪波

该博文允许注册用户评论 请点击登录 评论 (4 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-9-27 06:51

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部