1. Introduction
Perfect-DateTimePicker is a jQuery date and time picker with a Bootstrap look. The plugin creates a calendar in a container given as an initializing parameter. Perfect-DateTimePicker comes with many customization options: you can change language, date format (YM | YMD | HMS), start and end date and many more.
2. Plugin Overview
Library | Perfect-DateTimePicker |
Author | Jiandaoyun |
Licence | MIT Licence |
Repository | GitHub |
Dependencies | jQuery 1.3.1 or Latest version |
3. How to install and use Perfect-DateTimePicker jQuery plugin
Follow below steps in order to install and use Perfect-DateTimePicker plugin.
1. add jQuery library and Perfect-DateTimePicker CSS and JavaScript files
2. next, create a div element that Perfect-DateTimePicker will take and build date/time picker on top of it
3. initialize Perfect-DateTimePicker plugin with that id selector in jQuery document ready function
Initialization of Perfect-DateTimePicker will dynamically print calendar according to the given parameters in specified container.
4. Conclusion
In this article, we presented a jQuery plugin Perfect-DateTimePicker that can be used in web forms to pick a data and/or time. With many customization options you can attach this plugin to your application easily.
{{ 'Comments (%count%)' | trans {count:count} }}
{{ 'Comments are closed.' | trans }}