Most Jewish festivals, holidays and feasts are celebrated on fixed days in the Hebrew calendar, but some events are celebrated earlier of later under some circumstances.
Determining the date of an Jewish observance, festival, holiday or feast can be done by using the HebrewDateInOrAfterCivilYear and HebrewDateInOrBeforeCivilYear routines.
Since the Jewish year can be both sorter and longer than the Civil (Gregorian) or Julian year, it is possible that the specified Jewish observance, festival, holiday or feast occurs twice in the given Civil (Gregorian) or Julian year or does not occur in the specified Civil (Gregorian) or Julian year at all.
HebrewDateInOrAfterCivilYear can be used to determine the first occurence of a Jewish festival, holiday or feast in a given Civil (Gregorian) or Julian year. If the specified Jewish festival, holiday or feast does not occur in the given Civil (Gregorian) or Julian year, then the routine detemines the date of the first occurence of a Jewish festival, holiday or feast in the next Civil (Gregorian) or Julian year.
HebrewDateInOrBeforeCivilYear can be used to determine the last occurence of a Jewish festival, holiday or feast in a given Civil (Gregorian) or Julian year. If the specified Jewish festival, holiday or feast does not occur in the given Civil (Gregorian) or Julian year, then the routine detemines the date of the last occurence of a Jewish festival, holiday or feast in the previous Civil (Gregorian) or Julian year.
There are some complications in the Hebrew Calendar. First of all there's the question when the new year starts. The New Year can be said to begin on the 1st of Nisan (Leviticus 23:5) or on Rosh Hashanah, the 1st of Tishri (Leviticus 23:24). We will assume that Rosh Hashanah is the first day of the year.
Another complication in the Hebrew calendar is that leap years have an extra month inserted between the fifth month (called Shevat) and sixth month (called Adar). The extra month is called Adar I and the "normal" month Adar is named Adar II. So retreiving the Gregorian if Julian date of the first of Nisan (the month after Adar or Adar II) might be cumbersome if you don not know whether de Hebrew year is a leap year or not. To make things easier, the routines HebrewDateInOrAfterCivilYear and HebrewDateInOrBeforeCivilYear accept a negative number for the month. -1 means the last month of the year (Elul), -1 the last but one month (Av), etcetera.
Note that you must take care of any postponement or advancement rules yourself. See the notes in "Gory details" and the example of Yom Tammuz.
Here's an overview of the major observances, festivals, holidays and feasts.The numbers between brackets in the second column represent the month and day that you should pass to HebrewDateInOrAfterCivilYear or HebrewDateInOrBeforeCivilYear
| Event | Hebrew Date | Restrictions and Explanation |
| Rosh Hashanah | Tishri 1-2 (1/1-2) | Public holiday in Israel Sabbath-like restrictions Hebrew New Year Day of Judgement. Shofar, start of 10 days of repentance. |
| Yom Gedaliah | Tishri 31 (1/3) | Not a holiday in Israel Fast Lament for the Expulsion from Israel. |
| Erev Yom Kippur | Tishri 9 (1/9) | Half day in Israel Half day restrictions Eve of Yom Kippur |
| Yom Kippur | Tishri 10 (1/10) | Public holiday in Israel, Everything closes, no
transportation. Sabbath-like restrictions Atonement Day |
| Erev Sukkot | Tishri 14 (1/14) | Half day in Israel Half day restrictions Eve of Sukkot |
| Sukkot | Tishri 15-21 (1/15-21) | The 1st and 7th days are public holidays in Israel
and non-essential work is prohibited on the other five. Sabbath-like restrictions for the first two days and the last day in the diaspora and non-essential work is prohibited on the others. Feast of Tabernacles. The last day is known as Hosha'ana Raba |
| Shemini Atzeret | Tishri 22 (1/22) | Public holiday in Israel Sabbath-like restrictions 8th Day of Assembly culminating the celebration of renewal and thanksgiving. |
| SimHat Torah | Tishri 22 in Israel (1/22) Tishri 23 in the diaspora (1/23) |
Observed with Shemini Atzeret in Israel Sabbath-like restrictions in the diaspora The Rejoicing of the Torah. |
| Hannukah (also spelled as Chanukkah) |
Kislev 25 and the seven days following (3/25) |
All eight days are half day holidays in Israel. Traditionally, candles are lit, one for the 1st day, 2 for the 2nd and so on and work is restricted to the time the candles are lit. Festival of Lights |
| Asara B'Teveth | Teveth 101 (4/29) | Not a holiday in Israel Fast |
| Tu B'Shevat | Shevat 15 (5/15) | Not a holiday in Israel No restrictions New Year of Trees |
| Purim Katan | Adar I 14 | Not a holiday in Israel Occurs only in leap years, when Purim falls in Adar II |
| Ta'anit Esther | Adar 132
(6/13) Adar II 132 in leap years (7/14) (-7/14 in every year) |
Not a holiday in Israel Fast begins at dawn, ends at sunset. Commemoration of the fast of Queen Esther to save the Jews in Persia. The eve of Purim. |
| Purim | Adar 14 (6/14) Adar II 14 in leap years (7/14) (-7/14 in every year) |
Not a holiday in Israel No restrictions Feast of Lots. The rescue of the Jews from Persia. |
| Shushan Purim | Adar 151 Adar II 15 in leap years1 (-7/14 in every year) |
Not a holiday. Purim in cities surrounded by walls, notably Jerusalem |
| Ta'anit BeHorot | Nisan 143 (-6/14) | Not a holiday in Israel Fast |
| Erev PesaH | Nisan 14 (-6/14) | Half day holiday in Israel Eve of Passover |
| PesaH | Nisan 15-21 in Israel (-6/21) Nisan 15-22 in the diaspora (-6/22) |
The first and seventh days are public holidays in
Israel. The others are half day holidays. In the diaspora, there are sabbath-like restrictions on the first, seventh and eighth days and non-essential work is prohibited on the other days. Passover. |
| Yom HaShoah | Nisan 274 (-6/27) | Not a holiday in Israel. Restaurants are closed
during the evening. Holocaust Memorial Day |
| Yom HaZikaron | Iyyar 45 (-5/4) | Not a holiday in Israel but many stores and
restaurants may close. Soldiers' Memorial Day |
| Yom HaAtzma'ut | Iyyar 53 (-5/5 | Public holiday in Israel Sabbath-like restrictions Israeli Independence Day |
| Lag B'Omer6 | Iyyar 18 (-5/18) | Not a holiday in Israel. No restrictions. Break in the Mourning period for the 24,000 students of Rabbi Akiva. Weddings are permitted on this day. |
| Yom Yerushalayim | Iyyar 283? (-5/28) | Not a holiday in Israel Jerusalem Day |
| Erev Shavuot | Sivan 5 (-4/5) | Eve of Shavuot |
| Shavuot | Sivan 6-7 (-4/6-7) | Public holiday in Israel Sabbath-like restrictions Giving of the Torah |
| Yom Tammuz | Tammuz 171 (-3/17) | Not a holiday in Israel Lament for the Breach of the walls of Jerusalem. Fast begins at dawn, ends at dusk. |
| Tish'a B'Av | Av 9 (-2/9) | Not a holiday in Israel but most stores and
restaurants close. Fast |
| Erev Rosh Hashanah | Elul 29 (-1/29) | Half day holiday in Israel Half day restrictions Eve of Rosh Hashanah |
1 Postponed one day if it would fall on the
Sabbath.
2 Occurs two days earlier if it would fall on the
Sabbath.
3 Occurs on the Thursday preceding if it would fall on
the Friday or the Sabbath.
4 Occurs one day later if it would fall on a Sunday
(since May 1997)
5 Occurs on the Wednesday following if it would fall
on a Thursday or Friday.
6 The Omer (heave offering) is the period of 49 days
following the first day of Passover.
In the first example both HebrewDateInOrAfterCivilYear and HebrewDateInOrBeforeCivilYear return the Juliand Day Number 2452254, which corresponds to December 10, 2001
Const Gregorian = 1 hannukah = HebrewDateInOrBeforeCivilYear(2001, 3, 25, Gregorian) hannukah = HebrewDateInOrAfterCivilYear(2001, 3, 25, Gregorian)
In the next example HebrewDateInOrAfterCivilYear returns 2828091 and HebrewDateInOrBeforeCivilYear return 2828475, which correspond to December 13, 3030 and January 1, 3032 respectively. This means that there is no (first day of) Hannukah in the Civil (Gregorian) year 3031!)
Const Gregorian = 1 hannukah = HebrewDateInOrBeforeCivilYear(3031, 3, 25, Gregorian) hannukah = HebrewDateInOrAfterCivilYear(3031, 3, 25, Gregorian)
In the next example HebrewDateInOrAfterCivilYear returns 2828828 and HebrewDateInOrBeforeCivilYear return 2828476, which correspond to December 19, 3032 and January 1, 3032 respectively. This means that Hannukah starts in the Civil (Gregorian) year 3032 twice!
Const Gregorian = 1 hannukah = HebrewDateInOrBeforeCivilYear(3032, 3, 25, Gregorian) hannukah = HebrewDateInOrAfterCivilYear(3032, 3, 25, Gregorian)
In the next example HebrewDateInOrBeforeCivilYear returns 2451978, which correspond to March 9, 2001.
Const Gregorian = 1 purim = HebrewDateInOrBeforeCivilYear(2001, -7, 14, Gregorian)
In the next example HebrewDateInOrBeforeCivilYear returns 2451978, which correspond to March 9, 2001.
Const Gregorian = 1 purim = HebrewDateInOrBeforeCivilYear(2001, -7, 14, Gregorian)
In the next example HebrewDateInOrBeforeCivilYear returns 2456116, which correspond to July 7, 2012. But because this day is Sabbath (Saturday, dayofweek returns 6)), Yom Tammuz is postponed one day.
Const Gregorian = 1
yomtammuz = HebrewDateInOrBeforeCivilYear(2012, -3, 17, Gregorian)
If (dayofweek(yomtammuz,1) = 6) Then
yomtammuz = yomtammuz + 1
End If
HebrewDateInOrBeforeCivilYear, HebrewDateInOrAfterCivilYear, dayofweek, The Worldwide Holiday and Festival Site
Send an e-mail card for Hannukah or other Jewish events.
| Julian Day Number: | 2452006 |
| Gregorian date: | April 6, 2001 |
| Julian date: | March 24, 2001 |
| Hebrew date: | Nisan 13, 5761 |
| Islamic date: | Muharram 12, 1422 |
| Back to Calendar Math. | Other pages by the same author. |