Date is in string format

First of all, read up on Date.

In your case, the following code is a starting point.

var d = new Date();
d.setHours('10');
d.setMinutes('11');

Of course, you should exchange '10' and '11' with your picker data. Also, there are many other methods you can use on the Date object.

Browse More Popular Posts

Leave a Comment