How do I disable specific dates/times in a datepicker widget?

So i found this website: (http://angular-ui.github.io/bootstrap/#!#%2Fdatepicker)

It had a bunch of usefull widgets, two important ones that i need for my site (datepicker and timepicker).
Unfortunately I lack the coding skills to further customize them. I need to be able to allow and not allow certain dates/times in the widget.

Something like this:

Where certain dates can not be selected(the black numbers) and some can, (blue numbers)
(The same principle would apply to the timepicker)

Any solutions?

2 Likes