I want to display only time from jquery datepicker. my current code is
$(\'#field-start_t_a\').datetimepicker({
showDate:false,
showSecond: true,
t
Just set dateFormat to an empty string dateFormat: ''
$('#field-start_t_a').datetimepicker({
dateFormat: '',
timeFormat: 'hh:mm tt'
});
(this is a little strange that you only want to set time from the datetimepicker, because you can also do $('#field-start_t_a').timepicker(); and only the time options show)