Solution 1 :

Yes possible, you can do this with bootstrap date picker

    <link rel="stylesheet" type="text/css" href="">
    <link rel="stylesheet" type="text/css" href="">
    <script src = ""></script>
    <script type="text/javascript" src=""></script>
    <script src=""></script>
<div class="container">
   Date : <input type="text" name="date" class="form-control datepicker" autocomplete="off">
<script type="text/javascript">
        daysOfWeekDisabled: [0,6]

Problem :

We have a datepicker in our mvc core application.
But i want to make saturday and sunday unselectable in it is this possible?
Thanks in advance.


Comment posted by Wimanicesir

Yes, this is possible.

Comment posted by Sushrut Singh Sisodiya

Can you specify the name of datepicker you are using ,Some of them have a option to disable specific days.

Comment posted by Joni Timmermans

It is just the standard datepicker of the html input

Comment posted by Joni Timmermans

Comment posted by Joni Timmermans


Comment posted by Godwin

if it works mark this as right answer and up vote it as per @JoniTimmermans