I'm creating a datetimepicker and I want it to have a maxDate until Saturday every week.
So for example, today is Sunday 16/10/2016, the maximum for this is 22/10/2016. But if i put maxdate = today + 7
, tuesday maxdate will be monday which I don't want.
I want to allow the user to be able to choose in 1 week only.
Is this possible ?
Edit: Sorry,I wrote the wrong thing. It is calendar, not datetimepicker.