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();

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