Gets or sets the maximum time value, displayed in the DateTimePicker:
Namespace: MindFusion.Common.UI
File: DateTimePicker.js
JavaScript Copy Code |
---|
get maxTime() {} |
Number. The maximum time value.
The following code creates a new DateTimePicker using an HTML div element with an id "date_picker". The dateTimePicker advances with one day and displays the date as "2/March". The interval between cells is 1 hour, the min time is 9 o'clock and the latest hour rendered is 19 o'clock:
JavaScript Copy Code |
---|
var u = MindFusion.Common.UI; var dateTimePicker = new ui.DateTimePicker(document.getElementById("date_picker")); |