
Question:
Is there a difference in time between the zmanim of chatzos hayom and chatzos halayla (astronomical midnight and astronomical high noon / midday) besides the obvious 12-hour difference?
Answer:
I was recently asked by a developer why the KosherJava zmanim library does not have distinct calculations for chatzos halayla. The answer is that the zmanim API does indeed have the getSolarMidnight() calculation, but for the most part there is no real need for it. The time of chatzos halayla / midnight or chatzos hayom (solar transit / solar noon or midday) stays pretty constant from day to day. In the worst case (around December 22), a solar day, measured from noon to noon, is about 30.16 seconds longer than 24 hours. This does not change by location, but is the same anywhere in the world. This means that chatzos halayla can differ by at most about 15.08 seconds from midday + 12 hours, something that should not really impact people. In addition, the developer in question does not even show seconds, making this a moot point. In short, chatzos on any given day should be considered accurate enough for both chatzos hayom and chatzos halayla of that day. It should be noted that the Mishnah Berurah, quoting a number of achronim, and the Shulchan Aruch Harav are of the opinion that chatzos halayla is exactly 12 hours after chatzos hayom. The Mishnah Berurah states in הלכות הנהגת אדם בבקר א׳ ט׳
וזמן חצות הוא תמיד באמצעות הלילה ממש בכל מקום ואפילו בלילות הארוכות או הקצרות והיא י״ב שעות אחר חצי היום …
and the Shulchan Aruch Harav in הלכות השכמת הבוקר א׳ ח׳ states that
וזמן חצות לילה הוא שוה בקיץ ובחורף לעולם י״ב שעות אחר חצי היום שהוא אמצע הלילה ממש …
Chatzos Halayla on the Seder Night
The time of year that the zman of chatzos has the greatest impact is during the Pesach seder, when people want to finish the afikoman before chatzos. At this time of the year, solar days are slightly shorter than 24 hours, so chatzos halayla is slightly earlier than chatzos hayom + 12 hours. The difference in the length of the solar day from solar noon on erev Pesach to solar noon on the first day of Pesach ranges from 11 to 18 seconds depending on the year[1]. This 5.5 to 9 second difference in the time of chatzos hayom vs. chatzos halayla on erev Pesach has almost no real-world impact.
Equation of Time (EoT)
You may have expected that the longest day of the year, the summer solstice (June 20 or 21 depending on the year), would be the day with the earliest sunrise / netz (or hanetz) and latest sunset / shkiah (and therefore the day with the latest start of Shabbos). However, the earliest sunrise actually occurs on or about June 14 (at latitude 40°; it varies slightly with latitude), a week before the longest day, and the latest sunset occurs on or about June 28, a week after the summer solstice. As mentioned above, the length of the day that we know to be exactly 24 hours on a clock is actually only an average over the year. The length of the day varies slightly from day to day, from a minimum of 23 hours, 59 minutes and 38.64 seconds around September 17 to a maximum of 24 hours and 30.16 seconds around December 22, measured from the previous day’s noon. The accumulated difference is known as the equation of time. While the day starts shortening after the solstice, solar days at this time of the year are slightly longer than 24 hours, so chatzos (and by extension the entire day) moves slightly later each day, resulting in the day ending later despite it being shorter.
The variation has two main causes[2].
The Tilt of Earth’s Rotational Axis
The tilt of Earth’s rotational axis (also known as the axial tilt or the obliquity of the ecliptic), compared to the plane of its orbit around the sun, is one factor that impacts the length of the solar day. To understand this, note that Earth rotates on its axis in 23 hours 56 minutes and 4.1 seconds in relation to the stars. This is called a sidereal day. The remaining 3 minutes and 55.9 seconds, or about 0.98° of rotation, must be made up every Earth day. Due to the 23.44° axial tilt, this 3 minutes and 55.9 seconds is only an average.

During the equinoxes, Earth’s 23.44° tilt results in the sun having to travel slightly farther (1.09° for every 1° of eastward travel) to cover a line of longitude, since its path is angled and moving slightly north or south as it travels west. This results in the day being slightly shorter, since the sun only travels about 0.9° along the equator, as opposed to the average of 0.98° per day.

In the winter and summer, the sun’s path is parallel to the equator, running directly east to west. In addition, since the lines of longitude are closer together at 23.44° from the equator, the sun travels farther, moving 1.09° parallel to the equator for every 1° of eastward travel. This results in a slightly longer day[3].
The Elliptical Orbit of Earth
The elliptical orbit of Earth (or the eccentricity of Earth’s orbit) is the second factor that impacts the length of the day. Earth’s orbit around the sun is an ellipse and not a perfect circle. Following Kepler’s second law, Earth moves slightly faster in its orbit when it is closer to the sun, and slower when it is farther away. Earth is closest to the sun at perihelion (between January 2 and 5, depending on the year), when it moves fastest, and farthest away at aphelion (between July 3 and 7), when it moves slowest[4]. As a result, the sun’s apparent angular velocity (in relation to the stars) is faster when Earth is closer to it. Despite it being somewhat counterintuitive, the sun is closer to Earth in the middle of the northern hemisphere’s winter than during the summer. This non-uniform orbital speed impacts the length of the solar day.
The Accumulated Difference
This difference between our standard clock time and the time that would be based on the exact position of the sun in the sky accumulates, and is referred to as the equation of time (EoT)[5]. Adding or subtracting this time allows us to sync solar time and clock time (mean solar time / universal time).
Please see the references section below for links that cover the topic in detail.
Thank you.
References
- Sundials on the Internet’s The Equation of Time article.
- The US Naval Observatory’s article Sunrise and Sunset Times Near the Solstices.
- The US Naval Observatory’s article The Equation of Time.
- Wikipedia’s equation of time (EoT) article.
- A video about the equation of time by ScienceOnline.
- Ask Ethan: When Is The Earliest Sunrise And Latest Sunset Of The Year?
- Forbes’ Today Is Not 24 Hours Long.
- In-the-Sky’s Equation of Time article.
I would like to thank my son Shai for the detailed work on the technical part of this article.
Notes
- ^ The 11-second difference is on the very late erev Pesach of April 24, which last occurred in 1929 and 1967 and will next occur in 2043 and 2062. The 18-second difference is on the extremely early erev Pesach of March 25, which occurred in 1899 and 2013 and will next occur in 2089 (see Rabbi Dovid Heber’s Why is This Pesach the Earliest Since 1899?). Because the average Jewish year is slightly longer than the average solar year, a March 25 erev Pesach will never happen again after 2089.
- ^ The effects of nutation (such as the Chandler wobble), axial precession and other factors are too small to make a practical difference in the EoT calculations.
- ^ A technical and detailed explanation can be found in Mike G’s explanation of the subject on Astronomy Stack Exchange, the source of the Stellarium-generated images above, and in Art Carlson’s equation of time explanation.
- ^ At perihelion, Earth is 91,402,500 mi / 147,098,070 km from the sun and travels at 30.287 km/s; at aphelion, it is 94,509,100 mi / 152,097,700 km away and travels at 29.291 km/s.
- ^ “Equation” in this case refers to equality and not a mathematical equation, though the calculations certainly involve mathematical equations.






