Pregunta

$('#due_date').datepicker({
        changeMonth: true,
         changeYear: true,
          yearRange: '-100:+0',
          dateFormat: 'yy-mm-dd'});
¿Fue útil?

Solución

try something like this

 $('#basic_example_1').datetimepicker();

REFERENCE

http://trentrichardson.com/examples/timepicker/

Otros consejos

use jquery datetimepicker it is made with the use of jquery datepicker

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top