How can I set the default Hours and minutes as \"00:00\". Here I want to set only time not date. I am using the following code for datetimepicker. In this code how can I set
Bootstrap datetimepicker uses moment library so make use of it like this,
var dateNow = new Date(); $('#current_date').datetimepicker({ defaultDate:moment(dateNow).hours(0).minutes(0).seconds(0).milliseconds(0) });