0

The main problem is that the project is a bit old and I can't update Mobiscroll and also don’t know the current version of it... My code looks like this:

jQuery('#select-time').mobiscroll().time({
    'timeFormat': 'HH:ii:ss',
    'timeWheels': 'HHiiss',
});

I need to set time to 00:00:00

user1692333
  • 2,461
  • 5
  • 32
  • 64

1 Answers1

1

You can use the setDate function by passing an arbitrary date and 00:00:00 as the time

$('#demo').mobiscroll().time({
    timeFormat: 'HH:ii:ss',
    timeWheels: 'HHiiss'
});

$('#demo').mobiscroll('setDate', new Date(2015, 0, 0, 0, 0, 0, 0), true);
Levi Kovacs
  • 1,159
  • 8
  • 14