You can have the Jewish/Hebrew Date on your web site.
You as the webmaster are in complete control of the font formatting - even use the date within a sentence!
This is NOT a script which calculates the date.
This script only returns the Jewish Date.
The Jewish date is taken from OUR SERVER and prints right on YOUR WEBPAGE.
There is no large overhead! The whole script adds less than 500 bytes to your page weight!
The following line of code is all you need to add to your HTML:
<script type="text/javascript" src="http://www.yiqv.org/cal/scripts/?func=jd&gmt=-5&sunset=7&display=eng"></script>
func=jd
Don't change this. This tells our server you are requesting the Jewish Date function.
gmt=-5
GMT is Greenwich Mean Time. -5 is the offset of GMT where you are located.
New York is 5 hours behind GMT so gmt=-5 .
Los Angeles is 8 hours behind GMT so gmt=-8 .
Jerusalem is 2 hours ahead of GMT so gmt=+2 .
sunset=7
Use this parameter if you would like the Jewish Date to increase at sundown.
The 7 in sunset=7 refers to the time of the evening you would like the day to increase.
You may also use 24 hour time.
For example: If you want the date to increase at 9:00PM you would use sunset=9 or sunset=21.
If you want the date only to increase at midnight set the parameter to sunset=0 or leave it off completely.
display=eng
The language the date will be displayed in.
Use display=eng for English or display=heb for Hebrew.
If no language is specified it will default to English.
If you are in Greenwich,England, don't want the date to increase at sundown, and want it displayed in English:
<script type="text/javascript" src="http://www.yiqv.org/cal/scripts/?func=jd"></script>
There is a 2 week limit to the offset from GMT.
If you want to display the date for one week from today set gmt=+168. (168 = 24hours * 7days)
You should also note to display Hebrew on a web page you may need to change your Meta Tags to:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-8-i">
See how other sites have implemented this feature on their site. Visit Kramerica Industries for a list of sites.
This script is provided as a FREE service. However, you may make a donation. Use at your own risk. Some browsers may not support the use of Javascript. Kramerica Industries, LLC assumes no responsibility from the use of this script. If you use this script please e-mail us at kramerica@yiqv.org to let us know in case we have to make updates to the script that may involve changing the code on your page. Suggestions and comments for this and other scripts are always welcome. A link or credit in an appropriate place on your site to Kramerica Industries, LLC or the Young Israel of Queens Valley would be nice, but is not a requirement.