jQuery Date/Time Picker

To handle date and time both in calender use jQuery date time picker add-on

you need to inlcude javascript files

1
2
3
jquery-1.4.1.min
jquery-ui-1.8.9.custom.min
jquery-ui-timepicker-addon

Inclue CSS files

1
jquery-ui-1.8.9.custom
1
2
3
4
<%#= text_field_tag ' name','',:class => 'date_value'%>
jQuery('.'date_value).datetimepicker({
  dateFormat: 'MM dd,yy'
});