DHTMLX Docs & Samples Explorer

Double Calendar

  • August2012
  • w
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • Su
  • 31
  • 30
  • 31
  • 1
  • 2
  • 3
  • 4
  • 5
  • 32
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 33
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 34
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 35
  • 27
  • 28
  • 29
  • 30
  • 31
  • 1
  • 2
  • 36
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • August2012
  • w
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • Su
  • 31
  • 30
  • 31
  • 1
  • 2
  • 3
  • 4
  • 5
  • 32
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 33
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 34
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 35
  • 27
  • 28
  • 29
  • 30
  • 31
  • 1
  • 2
  • 36
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
Source
<link rel="stylesheet" type="text/css" href="../../codebase/dhtmlxcalendar.css">
    <link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxcalendar_dhx_skyblue.css">
    <script src="../../codebase/dhtmlxcommon.js"></script>
    <script src="../../codebase/dhtmlxcalendar.js"></script>
    <script src="../../codebase/ext/dhtmlxcalendar_double.js"></script>
    <script>
var myCalendar;
function doOnLoad() {
    myCalendar = new dhtmlXDoubleCalendar("calendarHere");
    myCalendar.setDateFormat("%Y-%m-%d");
    myCalendar.setDates("2012-08-07", "2012-08-23");
    myCalendar.show();
}
</script> <div id="calendarHere" style="position:relative;height:250px;"></div>