# 日历日期

日历日期是某一历法体系内对特定一天的指定，用年、月以及该日在该月中的序数来表示。<sup>[1](https://19january2017snapshot.epa.gov/sites/production/files/2015-06/documents/repdatetime_10212014.pdf)</sup> 公民生活、合同、软件和历史写作都用日历日期来标识日子；它们有别于序数日期（在一年内编号的一天）、周日期（年、周数和星期几）以及时间戳——时间戳还附加一天中的时间。<sup>[2](https://www.iso.org/iso-8601-date-and-time-format.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 格里高利历中特定的年、月、日<sup>[1](https://19january2017snapshot.epa.gov/sites/production/files/2015-06/documents/repdatetime_10212014.pdf)</sup> |
| 闰年规则 | 任何世纪年（如1700年）除非能被400整除（如2000年），否则不设闰日<sup>[3](https://time.com/6550127/new-year-celebration-january-calendar-date-history/)</sup> |
| 格里高利历改革 | 16世纪70年代在教皇格里高利十三世（1502–1585）主持下引入，修正了儒略历的闰年方法<sup>[3](https://time.com/6550127/new-year-celebration-january-calendar-date-history/)</sup><sup> • </sup><sup>[4](https://apnews.com/article/78ef385514268cc008f0013eb9810a36)</sup> |
| 采用滞后 | 英国及其美洲殖民地在1752年采用格里高利历，当时两种历法相差11天<sup>[3](https://time.com/6550127/new-year-celebration-january-calendar-date-history/)</sup> |
| 日期边界 | 国际日期变更线是两个连续日历日期之间的分界线<sup>[6](https://oceanservice.noaa.gov/facts/international-date-line.html)</sup> |

## 格里高利历日期的结构

因此，日历日期通过某一天在其所在年份的某一月份内的序数，来标识该日历年的特定一天。<sup>[7](https://www.govinfo.gov/content/pkg/GOVPUB-C13-51807c97cccd94fff3df87fce4c9838b/pdf/GOVPUB-C13-51807c97cccd94fff3df87fce4c9838b.pdf)</sup> 在闰年，会额外加入2月29日这一天，以使历法与地球绕太阳的公转保持同步。<sup>[8](https://www.nist.gov/pml/time-and-frequency-division/leap-seconds-faqs)</sup>

闰年规则是这种历法的核心机制。尤利乌斯·凯撒（Julius Caesar）的儒略历在天文学家索西琴尼（Sosigenes）的建议下，至迟于公元前45年制定，每四年增加一天，但把太阳年的长度高估了约11分钟。<sup>[3](https://time.com/6550127/new-year-celebration-january-calendar-date-history/)</sup> 这一误差不断累积：到15世纪中叶，历法相对于太阳周期又偏差了10天；这种不匹配妨碍了计算复活节等礼仪日期，因为复活节是由月亮确定的。<sup>[3](https://time.com/6550127/new-year-celebration-january-calendar-date-history/)</sup><sup> • </sup><sup>[9](https://time.com/4517862/google-doodle-gregorian-calendar-anniversary/)</sup> 16世纪70年代，教皇格里高利十三世（Pope Gregory XIII）推行改革，使世纪年除非能被400整除，否则不再是闰年；格里高利历还将1月1日正式确定为每个新年的开始。<sup>[3](https://time.com/6550127/new-year-celebration-january-calendar-date-history/)</sup> 格里高利本名乌戈·邦孔帕尼（Ugo Boncompagni），他与一位意大利天文学家和一位耶稣会数学家共同完成了这项修正；国际天文学联合会（International Astronomical Union）在2023年2月27日的一次更新中，以他的名字为小行星560974 Ugoboncompagni命名。<sup>[4](https://apnews.com/article/78ef385514268cc008f0013eb9810a36)</sup>

## 采用与日期不连续

格里高利历的采用并不均衡，因此同一个日历日期并不总是在各地都意味着同一天。大不列颠（Great Britain）及其美洲殖民地近200年拒绝采用这项改革，在文件中同时使用两种历法纪年，因为他们不承认教皇的权威。<sup>[3](https://time.com/6550127/new-year-celebration-january-calendar-date-history/)</sup> 到1752年，两种历法已相差11天，议会遂放弃儒略历：1752年9月2日之后的一天被称为9月14日，一年的正式起点被定在1月1日——苏格兰（Scotland）已在1600年通过枢密院（Privy Council）法令采用了这一日期。<sup>[10](https://www.rarebooksocietyofindia.org/book_archive/196174216674_10154706007406675.pdf)</sup><sup> • </sup><sup>[11](https://time.com/4161658/new-year-eve-day-january-history-celebrate/)</sup> 差距之所以扩大，是因为1700年在儒略历下是闰年，而在格里高利历下不是。<sup>[10](https://www.rarebooksocietyofindia.org/book_archive/196174216674_10154706007406675.pdf)</sup>

格里高利历规则本身在现代数据惯例中有一个明确的起点：在气候和预报数据所使用的“标准”日历中，从1582-10-15 00:00:00起的日期时间遵循格里高利历的闰年规则。<sup>[12](https://github.com/cf-convention/cf-conventions/blob/main/ch04.adoc)</sup> 即使在格里高利历并非文化上首要历法的地方，它也已被各国政府和商业界广泛采用为国际标准民用历。<sup>[3](https://time.com/6550127/new-year-celebration-january-calendar-date-history/)</sup>

## 日期落在哪一天：日期变更线与时区

日历日期命名一天，但究竟是哪一天取决于你身处何地。国际日期变更线是两个连续日历日期之间的分界线，因此同一时刻在线的两侧可以落在不同日期上。<sup>[6](https://oceanservice.noaa.gov/facts/international-date-line.html)</sup> 为使遵守同一历法和挂钟时间的地区保持同步，时区应运而生。<sup>[13](https://www.w3.org/TR/timezone/)</sup>

## 机器表示：ISO 8601与RFC 3339

为便于信息交换，ISO 8601规定了一种国际公认的日期表示方式，其元素顺序为年、月、日、时、分、秒和毫秒。<sup>[2](https://www.iso.org/iso-8601-date-and-time-format.html)</sup> 无论地区如何，年月日的顺序都无歧义，避免了日常记法中“日-月”与“月-日”的混淆。<sup>[14](https://www.iso8601.com/)</sup> 现行标准ISO 8601-1:2019规定，以字符串表示格里高利历的日期和基于24小时制的时间，并排除非格里高利历的日期以及不采用24小时制的时间。<sup>[15](https://www.iso.org/standard/70907.html)</sup>

该格式的若干细节在实践中很重要：

- 对于年界附近的某些日历日，日历日期所含的日历年与周日期所含的日历年不同。<sup>[5](https://www.loc.gov/standards/datetime/iso-tc154-wg5_n0038_iso_wd_8601-1_2016-02-16.pdf)</sup>

RFC 3339是互联网时间戳格式，它建立在这种日期表示方式之上，并处理闰秒和与UTC的偏移。<sup>[16](https://www.rfc-editor.org/info/rfc3339/)</sup>

## 日历日期与物理时间

日历日期按整天计数，但一天的长度并非完全固定。协调世界时（Coordinated Universal Time，UTC）是用于一般计时的标准，它建立在国际原子时之上，并定期加入闰秒，以使秒的定义长度与地球实际自转速度相协调。<sup>[17](https://www.nist.gov/pml/time-and-frequency-division/time-realization/leap-seconds)</sup> 从1972年起，国际计时机构在需要时于6月或12月加入一个闰秒，使天文时赶上原子时。<sup>[18](https://apnews.com/article/74eaac47b9c429910723a604897032a4)</sup> 目前一天比86,400原子秒长约0.002秒；预计100年后，每天平均将长0.004秒。<sup>[19](https://www.timeanddate.com/time/leapseconds.html)</sup> 闰秒被插入一天的末尾，因此它属于某个特定的日历日期；负闰秒则会通过省略23:59:59这一秒来删除，尽管这种情况从未发生过。<sup>[20](https://www.ntp.org/reflib/leap/)</sup>

这种不匹配对在时间戳和日历日期之间进行转换的软件有实际影响。闰秒由美国国家标准与技术研究院（NIST）维护在列表中，并由IERS Bulletin C公布，但1972年之前的日期没有闰秒记录，因此软件在计算两个时间值之差时常常忽略闰秒；Java的Calendar类可以保存一分钟的“第61秒”，但把这样的值转换为Date时，可能会把它移到下一个日历日期。<sup>[13](https://www.w3.org/TR/timezone/)</sup><sup> • </sup><sup>[17](https://www.nist.gov/pml/time-and-frequency-division/time-realization/leap-seconds)</sup>

## 历史纪年惯例

更古老的日期有其自身的陷阱。在1752年之前的英格兰（England），1月1日至3月25日之间的日期常同时写有两种替代年份数字，因为法律年和历史年并不总是从1月1日开始，尽管二月的闰日早已被归入从1月1日开始的那一年。<sup>[10](https://www.rarebooksocietyofindia.org/book_archive/196174216674_10154706007406675.pdf)</sup> 为了独立于任何历法的月份结构来连续计算天数，技术语境中会使用儒略日（Julian day）和简化儒略日（Modified Julian Day）数等体系；在简化儒略日41,317.5日0时，协调世界时被设定为国际原子时（TAI）减去10秒，这对应格里高利历1972年1月1日0时。<sup>[20](https://www.ntp.org/reflib/leap/)</sup>

## References

1. [Representation of Date and Time Data Standard, U.S. EPA](https://19january2017snapshot.epa.gov/sites/production/files/2015-06/documents/repdatetime_10212014.pdf)
2. [ISO 8601 — Date and time format, International Organization for Standardization](https://www.iso.org/iso-8601-date-and-time-format.html)
3. [Why Dec. 25 Marked the New Year, and Other New Year's Calendar History, TIME](https://time.com/6550127/new-year-celebration-january-calendar-date-history/)
4. [Asteroid named after pope behind Gregorian calendar reform, Associated Press](https://apnews.com/article/78ef385514268cc008f0013eb9810a36)
5. [ISO/TC 154 WG5 N0038, ISO WD 8601-1 (2016 working draft), Library of Congress](https://www.loc.gov/standards/datetime/iso-tc154-wg5_n0038_iso_wd_8601-1_2016-02-16.pdf)
6. [What is the international date line?, NOAA National Ocean Service](https://oceanservice.noaa.gov/facts/international-date-line.html)
7. [FIPS Publication: Representation of Dates and Times (ISO 8601:1988), U.S. Government Publishing Office](https://www.govinfo.gov/content/pkg/GOVPUB-C13-51807c97cccd94fff3df87fce4c9838b/pdf/GOVPUB-C13-51807c97cccd94fff3df87fce4c9838b.pdf)
8. [Leap Seconds FAQs, NIST Time and Frequency Division](https://www.nist.gov/pml/time-and-frequency-division/leap-seconds-faqs)
9. [Google Doodle Marks 434 Years of the Gregorian Calendar, TIME](https://time.com/4517862/google-doodle-gregorian-calendar-anniversary/)
10. [The calendar: its history, structure and improvement, Rare Books Society of India archive](https://www.rarebooksocietyofindia.org/book_archive/196174216674_10154706007406675.pdf)
11. [Why We Celebrate New Year's Day on January 1, TIME](https://time.com/4161658/new-year-eve-day-january-history-celebrate/)
12. [CF Conventions, Chapter 4: Time Coordinate Variables (standard calendar), cf-convention on GitHub](https://github.com/cf-convention/cf-conventions/blob/main/ch04.adoc)
13. [Working with Time and Timezones, W3C](https://www.w3.org/TR/timezone/)
14. [ISO 8601 — International Standard for Date and Time, iso8601.com](https://www.iso8601.com/)
15. [ISO 8601-1:2019 — Date and time — Representations for information interchange — Part 1: Basic rules, ISO](https://www.iso.org/standard/70907.html)
16. [RFC 3339: Date and Time on the Internet: Timestamps, RFC Editor](https://www.rfc-editor.org/info/rfc3339/)
17. [Leap second and UT1-UTC information, NIST](https://www.nist.gov/pml/time-and-frequency-division/time-realization/leap-seconds)
18. [A faster spinning Earth may cause timekeepers to subtract a second from world clocks, Associated Press](https://apnews.com/article/74eaac47b9c429910723a604897032a4)
19. [Leap Second — What is it?, timeanddate.com](https://www.timeanddate.com/time/leapseconds.html)
20. [The NTP Timescale and Leap Seconds, NTP Project](https://www.ntp.org/reflib/leap/)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 测量与时间 › 历法 › Calendar structure: months, days, and eras › Calendar structure (overview)

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/calendar-date

English original: https://www.edgepedia.org/calendar-date
