OPEN-SOURCE SCRIPT
Updated

The Hebrew Calendar

718
This indicator displays the current Hebrew (Jewish) calendar date based on the real-time Gregorian calendar. Features included:
  • Calculates and displays the current Hebrew day, month, and year.
  • Recognizes leap years and adjusts month counts accordingly.
  • Aligns with traditional Hebrew month names (Tishrei, Cheshvan, Kislev, etc.).

The calculations align with the Hebrew Calendar Converter from:
👉 chabad.org/calendar/converter_cdo/aid/6225/jewish/Date-Converter.htm

The results are shown in a table overlay on your chart's top-right corner. This indicator is great for symbolic traders, astro enthusiasts, or anyone interested in ancient timekeeping systems woven into financial timeframes. Enjoy, time travelers! ⌛
Release Notes
Accuracy Update

What changed:
  • Consistent dates across symbols: The script now normalizes the chart symbol’s exchange time to UTC using syminfo.timezone, then applies your UTC offset. This reduces “1-day ahead/behind” differences between session-based tickers (stocks) and 24/7 tickers (crypto).
  • Timezone inputs improved: The offset input now supports fractional hours (e.g., +5.5, +9.5) and there is a manual DST (+1h) toggle.


If you still see a 1-day mismatch:
  • Double-check your UTC offset and DST toggle.
  • Note the script uses the bar open time; civil-date expectations near midnight can differ vs using bar close time.


Thanks to jfg28 for reporting the date mismatch!

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.