Shabbat Time icon

Shabbat Time

Check if a given date falls on Shabbat or Jewish holiday using Hebcal API

Gregorian to Hebrew

AI-generated

Overview

This node operation converts a given Gregorian date to its corresponding Hebrew date using the Hebcal API. It is useful for applications that require date conversion between the Gregorian calendar and the Hebrew calendar, such as religious event planning, cultural applications, or calendar synchronization.

Use Case Examples

  1. Convert a Gregorian date like 2024-06-15 to the Hebrew calendar date for use in a Jewish holiday app.
  2. Automatically convert user input Gregorian dates to Hebrew dates for scheduling events in Hebrew calendar format.

Properties

Name Meaning
Gregorian Date The Gregorian date to convert to Hebrew, provided as a dateTime input.

Output

JSON

  • gregorianDate - The original Gregorian date input.
  • formattedGregorianDate - The Gregorian date formatted as YYYY-MM-DD.
  • hebrewDate
    • year - The Hebrew year corresponding to the Gregorian date.
    • month - The Hebrew month corresponding to the Gregorian date.
    • day - The Hebrew day of the month corresponding to the Gregorian date.
    • hebrew - The Hebrew date in Hebrew text format.
    • heDateParts - Detailed parts of the Hebrew date.
  • events - Any events associated with the Hebrew date, if available.

Dependencies

  • Hebcal API for date conversion

Troubleshooting

  • Invalid Gregorian date input: Ensure the date is valid and within the range 1900 to 2100.
  • API request failures: Check network connectivity and API availability.
  • Unexpected API response: Verify the API response structure and handle errors gracefully.

Links

Discussion