Author: @skills-il
Convert between Hebrew (Jewish) calendar and Gregorian dates, look up Israeli holidays, format dual dates for Israeli documents, and calculate Israeli business days. Use when user asks about Hebrew dates, "luach ivri", Jewish calendar, Israeli holidays, "chagim", Shabbat times, or needs dual-date formatting for Israeli forms. Do NOT use for Islamic Hijri calendar or non-Israeli holiday calendars.
npx skills-il add skills-il/developer-tools --skill idf-date-converter| Request | Action |
|---|---|
| Convert specific date | Gregorian to Hebrew or Hebrew to Gregorian conversion |
| When is holiday X? | Look up holiday in Hebrew calendar |
| Format for document | Dual date string in Hebrew + Gregorian |
| Business days | Count excluding Shabbat + holidays |
| Shabbat times | Candle lighting / havdalah for city |
Use Python conversion:
# Using pyluach library
from pyluach import dates, hebrewcal
# Gregorian to Hebrew
greg_date = dates.GregorianDate(2026, 2, 24)
heb_date = greg_date.to_heb()
print(f"{heb_date.day} {heb_date.month_name()} {heb_date.year}")
# Hebrew to Gregorian
heb_date = dates.HebrewDate(5786, 6, 26) # 26 Adar 5786
greg_date = heb_date.to_greg()
print(f"{greg_date.day}/{greg_date.month}/{greg_date.year}")Hebrew dates use gematria (letter-number system):
For Israeli documents:
24 February 2026 / 26 Adar I 5786Israeli business week: Sunday through Thursday (some work half-day Friday) Non-working days:
def is_israeli_business_day(greg_date):
"""Check if a date is an Israeli business day."""
# Saturday = 5 in Python's weekday() (0=Monday)
if greg_date.weekday() == 5: # Saturday
return False
# Check if it's a holiday
heb = dates.GregorianDate(greg_date.year, greg_date.month, greg_date.day).to_heb()
# Check against holiday list
return not is_israeli_holiday(heb)| Holiday | Hebrew Date | 2026 Gregorian (approx) |
|---|---|---|
| Rosh Hashana | 1-2 Tishrei | Sep 12-13 |
| Yom Kippur | 10 Tishrei | Sep 21 |
| Sukkot | 15-21 Tishrei | Sep 26 - Oct 2 |
| Simchat Torah | 22 Tishrei | Oct 3 |
| Chanukah | 25 Kislev - 2 Tevet | Dec 5-12 |
| Purim | 14 Adar | Mar 17 |
| Pesach | 15-21 Nisan | Apr 2-8 |
| Yom HaShoah | 27 Nisan | Apr 14 |
| Yom HaZikaron | 4 Iyar | Apr 21 |
| Yom HaAtzmaut | 5 Iyar | Apr 22 |
| Shavuot | 6 Sivan | May 22 |
User says: "What's today's Hebrew date?" Result: "24 February 2026 = 26 Adar I 5786"
User says: "When is Pesach 2026?" Result: "Pesach begins evening of April 1, 2026 (15 Nisan 5786). First seder: April 1. Last day: April 8."
User says: "How many business days between March 1 and March 31, 2026?" Result: Count excluding Shabbatot, noting if any holidays fall in the range (Purim on March 17).
scripts/convert_date.py — Converts between Hebrew and Gregorian calendars, formats dual dates for Israeli documents, lists Israeli holidays for any year, and counts Israeli business days between date ranges (excluding Shabbatot and holidays). Requires pyluach library. Run: python scripts/convert_date.py --helpreferences/hebrew-calendar-reference.md — Complete Hebrew calendar reference covering month names and variable lengths, the 19-year Metonic leap year cycle, gematria (Hebrew numeral) conversion table with special cases, Israeli holiday calendar with work-off days versus partial-closure days, and recommended Python libraries (pyluach, hebcal). Consult when handling leap year edge cases, formatting Hebrew numerals, or determining which holidays affect business day calculations.Cause: Hebrew months vary in length; leap year months confusing Solution: Verify with hebcal.com. Adar I/II only exist in leap years. Current year (5786) leap status affects dates.
Supported Agents
Trust Score
This skill can execute scripts and commands on your system.
1 occurrences found in code
Validate and format Israeli identification numbers including Teudat Zehut (personal ID), company numbers, amuta (non-profit) numbers, and partnership numbers. Use when user asks to validate Israeli ID, "teudat zehut", "mispar zehut", company number validation, or needs to implement Israeli ID validation in code. Includes check digit algorithm and test ID generation. Do NOT use for non-Israeli identification systems.
Guide Israeli startup operations including company formation, Innovation Authority grants, investment agreements, R&D tax benefits, and employee stock options (Option 102). Use when user asks about starting a company in Israel, IIA grants, "Innovation Authority", SAFE agreements (Israeli), convertible notes, Option 102, employee stock options in Israel, R&D tax benefits, preferred enterprise, or Israeli startup legal/financial setup. Do NOT use for non-Israeli company formation or international tax advice. Always recommend consulting with Israeli lawyer and accountant for binding decisions.
Interactive workflow for creating new skills for the skills-il organization -- guides through category selection, use case definition, folder scaffolding, YAML frontmatter generation with bilingual metadata, instruction writing, Hebrew companion creation, and validation. Use when user asks to "create a new skill", "scaffold a skill for skills-il", "write a SKILL.md", "contribute a skill", "new skill template", or "liztor skill chadash". Do NOT use for editing existing skills or creating skills for non-skills-il platforms.
Want to build your own skill? Try the Skill Creator · Submit a Skill