You can change the value of the TimePicker or get its current value via the related API methods.
There is the setValue() method that makes it easy to change the value of the timepicker on the fly. The method takes as a parameter the value which can be passed in several formats:
timepicker.setValue("00:39");
timepicker.setValue(new Date('January 10, 2019 17:54:00'));
timepicker.setValue([6,20,"AM"]);
timepicker.setValue(1559288966422);
You can get the value of TimePicker either as an object or as a string via the getValue() method. It takes one parameter:
The returned value can be of several types, depending on the passed parameter and the applied time format:
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