Datepiker Disable date excluding weekend (Sat,Sun)
Application Type


I want to disable 4 days from today (all dates previous from today all disabled) in the date picker calendar if there is Saturday and Sunday fall in that 4 days then it should exclude them in that count.

e.g if today 31 Mar 2022 then the 1st 2nd 3rd 4th 5th 6th of April 2022 should be disabled in the calendar.

thanks in advance.

Hi Rohan,

I think for this you should need to calculate the date first (your own logic to calculate the date range excluding saturday and sunday)  for which want to disable the calendar.

Once identified the date range pass it to calendar as max and min date.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.