Pergunta

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

Solução

try something like this

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

REFERENCE

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

Outras dicas

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top