Standart english calendar

  • shows the default calendar according to the current GMT date/time.
<iframe src="http://jsimlo.sk/calendar/calendar.php"
width=160 height=148 frameborder=0 scrolling="no"></iframe>

US calendar

  • shows the calendar according to the current time in New York (GMT +0500),
  • uses US language settings where week starts with Sunday.
<iframe src="calendar.php?l=us&gmt=+5"
width=160 height=148 frameborder=0 scrolling="no"></iframe>

Slovak calendar

  • shows the calendar according to the current time in Slovakia (GMT +0200),
  • uses slovak language where week starts with Monday.
<iframe src="calendar.php?l=sk&gmt=+2"
width=160 height=148 frameborder=0 scrolling="no"></iframe>

Static calendar

  • always shows the calendar of June 2, 2000.
  • does not highlight the chosen day.
<iframe src="http://jsimlo.sk/calendar/calendar.php?d=2&m=6&y=2000&hili=no"
width=160 height=148 frameborder=0 scrolling="no"></iframe>

Styled calendar

  • shows the calendar using different styles.
  • create your own styles and submit them for public use.
  • see the gallery.
<iframe src="calendar.php?style=blue.css"
width=160 height=148 frameborder=0 scrolling="no"></iframe>

Calendar parameters

This is a complete list of available input parameters. All parameters are optional. Please note, that all parameters must be used in lowercase to work. Each parameter has the default value in bold.

parametervaluesdescription
l en, us, sk, cz Language to be used in the calendar. It includes translations as well as the definition of the week start. If you wish to use the calendar in your own language that is not listed here yet, contact me and I will help you create a new language translation for your language. The translation currently includes only a few words. No big deal.
gmt number

Time difference to be used (from GMT) in hours. When you ignore this parameter, and your site is supposed to display the current calendar for today, it will actually display the calendar valid for GTM zone only. Note that hours are important for calendars at least at the midnight.

Note that GMT only takes place for today. If you specify some other day (using the d, m, y parameters), there is no need to provide any time zone information.

If you run an international site and want to try guess the timezone of the visitor, you may need javascript like this:

      function guessTimeZone () {
        var clock = new Date ();
        var raw  = clock.getTimezoneOffset ();
        return ((raw >= 0) ? "-" : "") + Math.abs (raw) / 60;
      }
     
d number, today The day to be highlighted in the calendar.
m number, today The month to show the calendar for.
y number, today The year to show the calendar for.
n 0, number Number of months to shift the calendar from the current day. For example n=-1 is the previous month, while n=+2 is the second month after this one.
hili yes, no Whether to highlight the selected day or not. If no day is selected (using the d, m, y parameters), then the current date is used (shifted by gmt parameter, if any).
style see the gallery Extended style that should be used for the calendar. If you wish to use your own style sheets for the calendar, please contact me and submit your css along with all required images. The reason why local styles are allowed only are hopefully way too obvious, but I would be glad to host any style that is worth it.
head yes, no Whether to output a full HTML page that can be used as an <IFRAME>; or just output the main calendar body. Note: The raw body (without the html headers) can be included directly into the html code, but it may require some javascript or server-side scripts.