form.getItem("timepicker").setValue("10:30");
form.getItem("timepicker").setValue(new Date('January 10, 2019 17:54:00'));
form.getItem("timepicker").setValue([6,20,"AM"]);
form.getItem("timepicker").setValue(1559288966422);
form.getItem("timepicker").setValue({hour: 10, minute: 50, AM: true});
1. The value of a timepicker control set as an array should have the following elements:
2. The value set as an object:
key:value
pairs for hours, minutes and their values: {hour: 0, minute: 39}
key:value
pairs for for hours, minutes, am/pm identifiers and their values: {hour: 6, minute: 0, AM: true}
3. The date set as a number is the number of milliseconds since January 1, 1970, 00:00:00 UTC returned by the getTime()
method of the Date object.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4