Skip to main content

Displaying a Jewish Calendar on your website

Note: as of 2020, we recommend newer FullCalendar approach. These instructions are here for historical purposes.

You may use the HTML tags below, courtesy of Kevin Ilsen’ JavaScript Event Calendar to put a calendar on your website. See an example of what the event calendar looks like.

If you just want holidays and no candle-lighting times, put these tags in the <head> section of the page:

Then, somewhere in the <body> section of the page where you want the calendar to appear, use these tags:

To add candle-lighting times for your city or town, you can change lines 1 and 2 in the first code block above as follows to include a zip code.

Be sure to change 90210 to your shul’s zip code. For example,

Note the following customizable parameters and their meanings:

  • nh=on – major holidays
  • nx=on – Rosh Chodesh
  • mf=on – minor fasts
  • ss=on – special Shabbatot
  • s=on– Parashat ha-Shavuah on Saturday
    • i=off – Diaspora sedra scheme
    • i=on – Israel sedra scheme
  • c=on – candle lighting times
  • zip=90210 – use zip code 90210 for candle lighting times
  • m=72 – Havdalah 72 minutes after sundown. Set to m=0 (zero) to disable Havdalah times
  • D=on – Hebrew date for dates with some event
  • d=on – Hebrew date for entire date range
  • o=on – Days of the Omer

Note mutually exclusive language parameter:

  • lg=s – Sephardic transliterations
  • lg=sh – Sephardic translit. + Hebrew
  • lg=a – Ashkenazis transliterations
  • lg=ah – Ashkenazis translit. + Hebrew
  • lg=h – Hebrew only

Displaying today’s Hebrew date on your website

To display today’s Hebrew date in Hebrew or in English transliteration on your website, use one of these simple HTML snippets.

Hebrew

<script src="https://www.hebcal.com/etc/hdate-he.js" crossorigin="anonymous">
</script>

Preview:

Hebrew without Nikkud

<script src="https://www.hebcal.com/etc/hdate-he-v2.js" crossorigin="anonymous">
</script>

Preview:

English transliteration

<script src="https://www.hebcal.com/etc/hdate-en.js" crossorigin="anonymous">
</script>

Preview:

The date displayed uses the web browser’s local timezone to determine today’s date. Any time after 20:00 (8:00pm in the evening) is considered “after sunset” so the Hebrew date displayed corresponds to the next day.

Content generated by the Hebcal.com web APIs is licensed under a Creative Commons Attribution 4.0 International License. This means that you can use you are free to copy and redistribute the material in any medium or format as long as you give appropriate credit to Hebcal.com.

RSS Feeds of Hebcal.com content

Hebcal.com offers some content in RSS format.

Because content on this site is licensed under a Creative Commons Attribution 4.0 International License, you don’t need to get permission from us.

Parashat ha-Shavua

Torah reading of the week. Feeds are in the format https://www.hebcal.com/sedrot/index-en.xml or https://www.hebcal.com/sedrot/israel-en.xml and available for multiple languages.

Updated on weekly every Sunday at midnight Eastern Standard Time.

Today’s Hebrew Date

Today’s Hebrew Date in English Transliteration RSS
https://www.hebcal.com/etc/hdate-en.xml

Today’s Hebrew Date in Hebrew RSS
https://www.hebcal.com/etc/hdate-he.xml

Updated on daily at midnight Eastern Standard Time.

Shabbat Times

1-Click Shabbat RSS (customize zip code parameter for your shul)
https://www.hebcal.com/shabbat?geo=zip&zip=90210&m=50&cfg=r

Updated on weekly every Sunday at midnight local time to the timezone corresponding to the location specified in the URL.

Displaying Shabbat candle-lighting times on your website

Hebcal.com’s Add Shabbat Times to your Website tool lets you create custom HTML tags to which display weekly candle-lighting times directly on your web page. The result looks something like this:

Shabbat times for Chicago, IL

Candle lighting: 4:08pm on Friday, 02 January 2004
This week’s Torah portion is Parashat Vayigash
Havdalah (72 min): 5:39pm on Saturday, 03 January 2004

1-Click Shabbat Copyright © 2004 Michael J. Radwin. All rights reserved.