
How often does december 21 correspond to tevet 17? reldrb@emory.edu
How often does december 21 correspond to tevet 17?

It happens pretty rarely.
12/21/1831 17th of Tevet, 5592
12/21/1869 17th of Tevet, 5630
12/21/1888 17th of Tevet, 5649
12/21/1937 17th of Tevet, 5698
12/21/1945 17th of Tevet, 5706
12/21/1956 17th of Tevet, 5717
12/21/1975 17th of Tevet, 5736
12/21/2021 17th of Tevet, 5782
12/21/2040 17th of Tevet, 5801
12/21/2059 17th of Tevet, 5820
12/21/2078 17th of Tevet, 5839
12/21/2108 17th of Tevet, 5869
12/21/2127 17th of Tevet, 5888
12/21/2173 17th of Tevet, 5934
12/21/2184 17th of Tevet, 5945
12/21/2192 17th of Tevet, 5953
12/21/2241 17th of Tevet, 6002
12/21/2260 17th of Tevet, 6021
12/21/2279 17th of Tevet, 6040
12/21/2298 17th of Tevet, 6059

converter to israel
This year there is a gap between the episodes that are read in Israel and what is read abroad.?

Hi, we were able to make an update to better display both Israel and Diaspora events using the date converter page.
For example:
https://www.hebcal.com/converter?gd=25&gm=4&gy=2022&g2h=1
When the parsha haShavua differs between the two locations, you'll see this noted with "in Israel" or "in the Diaspora" after the name of the event

How many years out do we have the times and dates?
Do we only have dates going forward for ten years or more?

Hi, thanks for using Hebcal.
Hebcal offers perpetual calendars for any date in Gregorian year 0001 through 9999. If you generate a calendar using our custom calendar page at https://www.hebcal.com/hebcal you can enter the year you choose.
Calendar feeds using iCalendar will vary in length based on the options specified.
If you're using the Hebcal Jewish calendar REST then you can specify specific dates using the start and end parameters.

Hello again, we've been alerted to a recent revision to the Triennial aliyot which explains the discrepancy you see between what Hebcal had published and Rabbi Miles B. Cohen's luach.
In November 2020, the CJLS modified the triennial cycle for some combined parshiyot to change the reading for year 3 to be the third section of the parashah.
Modification of the Triennial Cycle Readings for Combined Parashot in Certain Years, Rabbi Miles B. Cohen
We have implemented the revised aliyah scheme according to the CJLS and updated our web page earlier today to match
https://www.hebcal.com/sedrot/achrei-mot-20220430
Triennial year 3
1: 17:1-7 · 7 p’sukim
2: 17:8-12 · 5 p’sukim
3: 17:13-16 · 4 p’sukim
4: 18:1-5 · 5 p’sukim
5: 18:6-21 · 16 p’sukim
6: 18:22-25 · 4 p’sukim
7: 18:26-30 · 5 p’sukim
maf: 18:26-30 · 5 p’sukim
Shabbat Shalom!

Shabbos yom tov and fast day times not hebcal
I used to have shabbos yom tov and other times on the calendar now it doesn’t show

Hi, we're sorry to hear you are having trouble finding Shabbat yom tov and fast day times on Hebcal.
If you enter your location on our Custom Calendar page you will get candle-lighting times for Shabbat and holidays, and also fast start/end times.
If you're having trouble seeing these times, can you send a URL and/or a screenshot so we can assist in debugging further?

Limits to data returned by start= and end= in zmanim api?
I'm using the https://www.hebcal.com/zmanim and playing with start= and end=. The following URL only returns data up to 10/16/2021 even though I've specified a full year.
https://www.hebcal.com/zmanim?cfg=json&geonameid=3448439&start=2021-09-01&end=2022-08-31
Is there a parameter I'm missing, or a limit on the API, or a difference between running it interactively in a browser versus through a script?
Thanks in advance!
- Leon

Hi, thanks for using Hebcal's Zmanim API!
To avoid excessive CPU usage and ensure quick response times, we limit the total range for Zmanim to be 45 days. If the "end" parameter is more than 45 days after the "start" parameter, is reset to 45 days.

Using the Rest API, an I query the Hebrew day of the month in Hebrew?
For example, if the Hebrew date is 15 Iyyar 5780, How can I pull only ט"ו

Similarly, if you want to represent numbers using gematriya, you can avoid using the REST API completely and instead use a simple gematriya function in the programming language of your choice.
Here's the implementation that Hebcal uses. If you don't use JavaScript, you'll see it's extremely straightforward to port to another programming language.
https://github.com/hebcal/hebcal-es6/blob/main/src/gematriya.js
For example, here's a port to Swift
https://github.com/hebcal/hebcal-swift/blob/main/Sources/Hebcal/hebnum.swift

multiple copies of Hebcal in my iCal on my Mac
On my iMac calendar I had 58 copies of Hebcal, deleted them one by one. Now I have 70 copies of Hebcal in my calendar and my calendar is frozen. On the phone with Apple for 2 hours. Nothing worked.
If anybody has this issue, I would appreciate hearing about a solutions.

Logic to iterate through output and grab the "correct" Shabbat
NOTE: The issue below is a programming question. I'm relatively new to "real" coding (versus utility scripts with very narrow scopes), so my belief is that this is a simple case of how to build the correct looping and logic structures. It's not an issue with the API itself or my use of it. I think.
************************
I'm building an automatically-generated list of Shabbat dates and calculating times for mincha, candles, etc based on my shul's particular shitot. I want to grab every Saturday, but I only want to grab each Saturday ONCE.
My problem is that if I set the Major holiday switch (maj) to off, I'm missing some Shabbats.
(example, 9/23 because that's shabbat chol hamoed Sukkot, not a normal Shabbat.)
BUT if I include maj=on, I get some double saturdays
(example: 12/04, which is a 'regular' Shabbat but also noted as the 7th night of Chanukah)
So I need to figure out how to programatically grab or filter the "correct" one.
Here's a sample of the API string I'm generating:
To see the current state of the code, check here:
https://clevelandsephardiminyan.com/wp-content/zmanim/fullyear_0-3.php
And the code (such as it is) can be found here:
https://github.com/adatole/sephardic_zmanim_fullyear
Customer support service by UserEcho