What does Moving Festivals and Promotion Calendars conclude, in numbers, about “The Sidereal Window of Deepavali: Entry into Libra, the Eve of the New Moon and the Gap between Time Zones”?
Answer: Of the 151 Deepavali new moons between 1950 and 2100, the date at UTC+8 differs from the date at UTC+5:30 in 12 years, a share of 0.079, and from the date in universal time in a share of 0.318. If the hour of the new moon were spread evenly over the day, the theoretical shares would be 0.104 and 0.333, close to the counts. The years of disagreement after 2000 are listed as well.
Scope of the numbers: Sales series and lead times are illustrative; all calculations are generated by the book's programs. Every festival date follows the official announcement; the book treats the religious and cultural meaning of each festival with respect, passes no judgment on it, and is general analysis, not individualised business advice.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 0.079, 0.104, 0.318, 0.333, 12, 151
| Deepavali new moons checked | 151 (1950-2100) |
| UTC+8 date differs from UTC+5 | 30 date: 12 years (0.079) |
| UTC+8 date differs from UTC date | 48 years (0.318) |
| such years after 2000 | 2015 2016 2018 2049 2077 2078 2079 2085 |
| expected share if the hour were uniform | 0.104 and 0.333 |
Show the full program
# Chapter 4. p43: one new moon, three civil dates.
# Model: the Deepavali new moon of the p41 rule for 1950-2100, with
# its civil date read at UTC+8 (Malaysia, Singapore), UTC+5:30
# (India) and UTC. When the new moon falls late in the UTC+5:30 day,
# Malaysian calendars and Indian calendars can show different dates
# for the same lunar event; a one-day gap in published lists is
# therefore not an error by itself. Counts only; no almanac rules.
import math
from datetime import date
RD0, TZ = 1721424.5, 8 / 24
AY2000, PREC = 23.853, 50.29 / 3600
def rad(x):
return math.radians(x % 360.0)
def new_moon(k, terms):
jde = 2451550.09766 + 29.530588861 * k
if not terms:
return jde - RD0
t = k / 1236.85
e = 1 - 0.002516 * t
m = rad(2.5534 + 29.10535670 * k)
mp = rad(201.5643 + 385.81693528 * k)
f = rad(160.7108 + 390.67050284 * k)
c = [-0.40720 * math.sin(mp), 0.17241 * e * math.sin(m),
0.01608 * math.sin(2 * mp), 0.01039 * math.sin(2 * f),
0.00739 * e * math.sin(mp - m),
-0.00514 * e * math.sin(mp + m)]
return jde + math.fsum(c) - RD0
def sun_lon(rd):
t = (rd + RD0 - 2451545.0) / 36525.0
m = rad(357.52911 + 35999.05029 * t)
om = rad(125.04 - 1934.136 * t)
c = [280.46646, 36000.76983 * t,
(1.914602 - 0.004817 * t) * math.sin(m),
0.019993 * math.sin(2 * m), 0.000289 * math.sin(3 * m),
-0.00569, -0.00478 * math.sin(om)]
return math.fsum(c) % 360.0
def sun_at(target, lo, hi):
for _ in range(50):
mid = (lo + hi) / 2
if (sun_lon(mid) - target + 180.0) % 360.0 - 180.0 < 0:
lo = mid
else:
hi = mid
return lo
def deepavali(y, terms):
ay = AY2000 + (y - 2000) * PREC
ts = sun_at(180.0 + ay, date(y, 10, 5).toordinal(),
date(y, 10, 30).toordinal())
k = int(round((ts + RD0 - 2451550.09766) / 29.530588861)) - 2
while new_moon(k, terms) <= ts:
k += 1
nm = new_moon(k, terms)
return math.floor(nm + TZ) - 1, ts, nm
if __name__ == "__main__":
n, diff, diffu = 0, [], 0
for y in range(1950, 2101):
_, _, nm = deepavali(y, True)
my = math.floor(nm + 8 / 24)
ind = math.floor(nm + 5.5 / 24)
utc = math.floor(nm)
n += 1
if my != ind:
diff.append(y)
if my != utc:
diffu += 1
print("Deepavali new moons checked: {} (1950-2100)".format(n))
print("UTC+8 date differs from UTC+5:30 date: {} years ({:.3f})"
.format(len(diff), len(diff) / n))
print("UTC+8 date differs from UTC date: {} years ({:.3f})"
.format(diffu, diffu / n))
print("such years after 2000: {}".format(
" ".join(str(y) for y in diff if y > 2000) or "none"))
print("expected share if the hour were uniform: {:.3f} and {:.3f}"
.format(2.5 / 24, 8 / 24))Single source and citation
Fan, Y. (2026). Moving Festival Calendars in Multicultural Malaysia: Overlaps of Hari Raya, Chinese New Year and Deepavali and the Alignment of Promotional Schedules (Version 1.0.0), Chapter 4: The Sidereal Window of Deepavali: Entry into Libra, the Eve of the New Moon and the Gap between Time Zones. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-313 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026313,
author = {Fan, Yafu},
title = {Moving Festival Calendars in Multicultural Malaysia: Overlaps of Hari Raya, Chinese New Year and Deepavali and the Alignment of Promotional Schedules},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Eleven Days of Drift: the Arithmetic Islamic Calendar, the Thirty-Year Leap Cycle and the Official Announcement of Aidilfitri
- Chapter 2 · The Same-Date Trap: How Moving Festivals Distort Year-on-Year Comparisons
- Chapter 3 · The Mean Synodic Month and Chinese New Year: the Solstice Rule, Periodic Terms and Exceptional Years
- Chapter 5 · How Often Festivals Meet: Why a Uniform-Phase Model Fails
- Chapter 6 · Festival-Aligned Comparisons: an Event-Time Map, the Split of Ramadan and the Cost of Date Errors
- Chapter 7 · Eastern and Western Classics Examined: the Jingchu Suishi Ji and Bede's The Reckoning of Time
- Chapter 8 · Closing the Loop: a Promotion Calendar for Malaysia, Singapore and Taiwan, the Moving Festival Aligner and a Pre-Registered Test