xref: /freebsd/usr.sbin/ntp/ntpd/leap-seconds (revision 4729d5e2e2e3013fe1aaf92d5d932a3414f22ab3)
104b4dcf0SCy Schubert#	ATOMIC TIME
204b4dcf0SCy Schubert#	Coordinated Universal Time (UTC) is the reference time scale derived
304b4dcf0SCy Schubert#	from The "Temps Atomique International" (TAI) calculated by the Bureau
404b4dcf0SCy Schubert#	International des Poids et Mesures (BIPM) using a worldwide network of atomic
504b4dcf0SCy Schubert#	clocks. UTC differs from TAI by an integer number of seconds; it is the basis
604b4dcf0SCy Schubert#	of all activities in the world.
79488993bSBrad Davis#
89488993bSBrad Davis#
904b4dcf0SCy Schubert#	ASTRONOMICAL TIME (UT1) is the time scale based on the rate of rotation of the earth.
1004b4dcf0SCy Schubert#	It is now mainly derived from Very Long Baseline Interferometry (VLBI). The various
1104b4dcf0SCy Schubert#	irregular fluctuations progressively detected in the rotation rate of the Earth led
1204b4dcf0SCy Schubert#	in 1972 to the replacement of UT1 by UTC as the reference time scale.
139488993bSBrad Davis#
149488993bSBrad Davis#
1504b4dcf0SCy Schubert#	LEAP SECOND
1604b4dcf0SCy Schubert#	Atomic clocks are more stable than the rate of the earth's rotation since the latter
1704b4dcf0SCy Schubert#	undergoes a full range of geophysical perturbations at various time scales: lunisolar
1804b4dcf0SCy Schubert#	and core-mantle torques, atmospheric and oceanic effects, etc.
1904b4dcf0SCy Schubert#	Leap seconds are needed to keep the two time scales in agreement, i.e. UT1-UTC smaller
2004b4dcf0SCy Schubert#	than 0.9 seconds. Therefore, when necessary a "leap second" is applied to UTC.
2104b4dcf0SCy Schubert#	Since the adoption of this system in 1972 it has been necessary to add a number of seconds to UTC,
2204b4dcf0SCy Schubert#	firstly due to the initial choice of the value of the second (1/86400 mean solar day of
2304b4dcf0SCy Schubert#	the year 1820) and secondly to the general slowing down of the Earth's rotation. It is
2404b4dcf0SCy Schubert#	theoretically possible to have a negative leap second (a second removed from UTC), but so far,
2504b4dcf0SCy Schubert#	all leap seconds have been positive (a second has been added to UTC). Based on what we know about
2604b4dcf0SCy Schubert#	the earth's rotation, it is unlikely that we will ever have a negative leap second.
279488993bSBrad Davis#
289488993bSBrad Davis#
2904b4dcf0SCy Schubert#	HISTORY
3004b4dcf0SCy Schubert#	The first leap second was added on June 30, 1972. Until the year 2000, it was necessary in average to add a
3104b4dcf0SCy Schubert#       leap second at a rate of 1 to 2 years. Since the year 2000 leap seconds are introduced with an
3204b4dcf0SCy Schubert#	average interval of 3 to 4 years due to the acceleration of the Earth's rotation speed.
339488993bSBrad Davis#
349488993bSBrad Davis#
3504b4dcf0SCy Schubert#	RESPONSIBILITY OF THE DECISION TO INTRODUCE A LEAP SECOND IN UTC
3604b4dcf0SCy Schubert#	The decision to introduce a leap second in UTC is the responsibility of the Earth Orientation Center of
3704b4dcf0SCy Schubert#	the International Earth Rotation and reference System Service (IERS). This center is located at Paris
3804b4dcf0SCy Schubert#	Observatory. According to international agreements, leap seconds should be scheduled only for certain dates:
3904b4dcf0SCy Schubert#	first preference is given to the end of December and June, and second preference at the end of March
4004b4dcf0SCy Schubert#	and September. Since the introduction of leap seconds in 1972, only dates in June and December were used.
419488993bSBrad Davis#
4265ec2ae3SXin LI#		Questions or comments to:
4304b4dcf0SCy Schubert#			Christian Bizouard:  christian.bizouard@obspm.fr
4404b4dcf0SCy Schubert#			Earth orientation Center of the IERS
4504b4dcf0SCy Schubert#			Paris Observatory, France
4665ec2ae3SXin LI#
479488993bSBrad Davis#
489488993bSBrad Davis#
4904b4dcf0SCy Schubert#    	COPYRIGHT STATUS OF THIS FILE
5004b4dcf0SCy Schubert#    	This file is in the public domain.
5165ec2ae3SXin LI#
5265ec2ae3SXin LI#
5304b4dcf0SCy Schubert#	VALIDITY OF THE FILE
5404b4dcf0SCy Schubert#	It is important to express the validity of the file. These next two dates are
5504b4dcf0SCy Schubert#	given in units of seconds since 1900.0.
5665ec2ae3SXin LI#
5704b4dcf0SCy Schubert#	1) Last update of the file.
589488993bSBrad Davis#
5904b4dcf0SCy Schubert#	Updated through IERS Bulletin C (https://hpiers.obspm.fr/iers/bul/bulc/bulletinc.dat)
609488993bSBrad Davis#
6104b4dcf0SCy Schubert#	The following line shows the last update of this file in NTP timestamp:
629488993bSBrad Davis#
63*4729d5e2SYasuhiro Kimura#$	3960835200
649488993bSBrad Davis#
6504b4dcf0SCy Schubert#	2) Expiration date of the file given on a semi-annual basis: last June or last December
669488993bSBrad Davis#
67*4729d5e2SYasuhiro Kimura#	File expires on 28 June 2026
6804b4dcf0SCy Schubert#
6904b4dcf0SCy Schubert#	Expire date in NTP timestamp:
7004b4dcf0SCy Schubert#
71*4729d5e2SYasuhiro Kimura#@	3991593600
7204b4dcf0SCy Schubert#
7304b4dcf0SCy Schubert#
7404b4dcf0SCy Schubert#	LIST OF LEAP SECONDS
7504b4dcf0SCy Schubert#	NTP timestamp (X parameter) is the number of seconds since 1900.0
7604b4dcf0SCy Schubert#
7704b4dcf0SCy Schubert#	MJD: The Modified Julian Day number. MJD = X/86400 + 15020
7804b4dcf0SCy Schubert#
7904b4dcf0SCy Schubert#	DTAI: The difference DTAI= TAI-UTC in units of seconds
8004b4dcf0SCy Schubert#	It is the quantity to add to UTC to get the time in TAI
8104b4dcf0SCy Schubert#
8204b4dcf0SCy Schubert#	Day Month Year : epoch in clear
8304b4dcf0SCy Schubert#
8404b4dcf0SCy Schubert#NTP Time      DTAI    Day Month Year
859488993bSBrad Davis#
869488993bSBrad Davis2272060800      10      # 1 Jan 1972
879488993bSBrad Davis2287785600      11      # 1 Jul 1972
889488993bSBrad Davis2303683200      12      # 1 Jan 1973
899488993bSBrad Davis2335219200      13      # 1 Jan 1974
909488993bSBrad Davis2366755200      14      # 1 Jan 1975
919488993bSBrad Davis2398291200      15      # 1 Jan 1976
929488993bSBrad Davis2429913600      16      # 1 Jan 1977
939488993bSBrad Davis2461449600      17      # 1 Jan 1978
949488993bSBrad Davis2492985600      18      # 1 Jan 1979
959488993bSBrad Davis2524521600      19      # 1 Jan 1980
969488993bSBrad Davis2571782400      20      # 1 Jul 1981
979488993bSBrad Davis2603318400      21      # 1 Jul 1982
989488993bSBrad Davis2634854400      22      # 1 Jul 1983
999488993bSBrad Davis2698012800      23      # 1 Jul 1985
1009488993bSBrad Davis2776982400      24      # 1 Jan 1988
1019488993bSBrad Davis2840140800      25      # 1 Jan 1990
1029488993bSBrad Davis2871676800      26      # 1 Jan 1991
1039488993bSBrad Davis2918937600      27      # 1 Jul 1992
1049488993bSBrad Davis2950473600      28      # 1 Jul 1993
1059488993bSBrad Davis2982009600      29      # 1 Jul 1994
1069488993bSBrad Davis3029443200      30      # 1 Jan 1996
1079488993bSBrad Davis3076704000      31      # 1 Jul 1997
1089488993bSBrad Davis3124137600      32      # 1 Jan 1999
1099488993bSBrad Davis3345062400      33      # 1 Jan 2006
1109488993bSBrad Davis3439756800      34      # 1 Jan 2009
1119488993bSBrad Davis3550089600      35      # 1 Jul 2012
1129488993bSBrad Davis3644697600      36      # 1 Jul 2015
1139488993bSBrad Davis3692217600      37      # 1 Jan 2017
1149488993bSBrad Davis#
11504b4dcf0SCy Schubert#	A hash code has been generated to be able to verify the integrity
11604b4dcf0SCy Schubert#	of this file. For more information about using this hash code,
11704b4dcf0SCy Schubert#	please see the readme file in the 'source' directory :
11804b4dcf0SCy Schubert#	https://hpiers.obspm.fr/iers/bul/bulc/ntp/sources/README
1199488993bSBrad Davis#
120*4729d5e2SYasuhiro Kimura#h	49db2447 571e5e1b 2f002a53 9c8da8e4 39b8e49e
121