Cordova Plugin DateTimePicker
Native date and time picker for Android.
Installation
cordova plugins add cordova-plugin-datetimepicker --save
Usage
var options = type: 'date' // 'date' or 'time', required date: // date or timestamp, default: current date minDate: // date or timestamp maxDate: // date or timestamp; windowDateTimePicker;
Screenshots
The following screenshots were made on a device with Android 6.0. The plugin uses the default styles of the device it's running on.
Development
# uninstall old version if present cordova plugins remove cordova-plugin-datetimepicker # by using --link the Java files are updated instantly (doesn't work for JavaScript) cordova plugins add --link ../cordova-plugin-datetimepicker cordova run android --device