$('#selector').pickdate({
disable: [
[2016,0,12],
[2016,0,13],
[2016,0,14]
]
});
$('#selector').pickdate({
disable: [
new Date(2016,0,12),
new Date(2016,0,13),
new Date(2016,0,14)
]
});
$('#selector').pickdate({
disable: [
2, 4, 6
]
});
$('#selector').pickdate({
disable: [
{
from: [2016,0,12],
to: 2
}
]
});
The values for from
and to
can be:
- Array formatted as
[YEAR,MONTH,DATE]
or javascript date object
-
Integers representing dates relative to the other
from
can only be negative
to
can only be positive
- Use
true
to set it as today