Javascript Simple DateTimePicker
This a single file datetimepicker without any library.
How to use:
HTML Code:
<input id="datetimepicker">
JS Code:
Show Hour and Minute
datetimepicker('#datetimepicker');
datetimepicker({
'target': '#datetimepicker',
'time': true
});
Hide Hour and Minute
datetimepicker({
'target': '#datetimepicker',
'time': false
});