Description & Source Code

The calendar component provides a convenient user interface to select a date. And the datebox component provides a popup of date-picker by using calendar.

The first day of the week is decided by the return value of the getFirstDayOfWeek method in the java.util.Calendar class.

ZK provides Google Calendar like application which called "ZK Calendar".
	<calendar id="cal" onChange="in.value = cal.value" />
	<datebox id="in" onChange="cal.value = in.value" />