Suggest me any JavaScript to pick the date and time .
NOTE: I want to use only one file for date and time picking.
I already see this:
http://www.eyecon.ro/bootstrap-datepicker/
and
http://jdewit.github.com/bootstrap-timepicker/index.html
You can use Time Picker and Date Picker together as a one component. If you want to do this, you have to use input with . date-time class. You have to use also data-open="DatePickerID" HTML data-* Attribute and .
If you are still interested in a javascript api to select both date and time data, have a look at these projects which are forks of bootstrap datepicker:
Bootstrap Datetime Picker 1
Bootstrap Datetime Picker 2
The first fork is a big refactor on the parsing/formatting codebase and besides providing all views to select date/time using mouse/touch, it also has a mask option (by default) which lets the user to quickly type the date/time based on a pre-specified format.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With