This modules enables up the jquery ui datetimepicker library for you.
How to use it?
1. Download and enable this module.
2. Add the library in your module/theme
drupal_add_library('datetimepicker', 'jquery-ui-timepicker');
There are two options now.
Either you just add the timepicker or datetimepicker class to your input field or you can wrtie the JS yourself (depending on the date/time format you need).
3. Add the Javascript to your field
$( ".MY_DATETIMEFIELD" ).datetimepicker({
dateFormat: "yy-mm-dd" ,
timeFormat: 'hh:mm',
});
$( ".MY_TIMEFIELD" ).timepicker({
dateFormat: "yy-mm-dd" ,
timeFormat: 'hh:mm',
});
4. Be happy and up to date with the latest jquery ui datetimepicker.
Project information
Seeking co-maintainer(s)
Maintainers are looking for help reviewing issues.5 sites report using this module
- Created by wouters_f on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.


