Domanda

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

Soluzione

try something like this

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

REFERENCE

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

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top