Bootstrap Datetimepicker Disable Weekends Example




Bootstrap Datetimepicker Disable Weekends Example

Hi guys,

In this tutorial,i will give you simple example of Bootstrap datetimepicker disable can disable bootstrap datetimepicker using daysOfWeekDisabled method.we are disabled bootstrap datetimepicker in weekends.

it will useing daysOfWeekDisabled options to disable weekends in bootstrap datetimepicker.

here following example of bootstrap datetimepicker disable weekends.


<!DOCTYPE html>



<title>Bootstrap Datetimepicker Disable Weekends Example -</title>

<link href="" rel="stylesheet">

<script src="//"></script>

<script src=""></script>

<script type="text/javascript" src=""></script>

<link rel="stylesheet" type="text/css" href="">

<script type="text/javascript" src=""></script>


<body style="background:#e2e2e2;">

<div class="container">

<h2>Bootstrap Datetimepicker Disable Weekends Example -</h2>

<div class="row">

<div class='col-sm-6'>

<div class="form-group">

<div class='input-group date' id='datetimepicker1'>

<input type='text' class="form-control" />

<span class="input-group-addon">

<span class="glyphicon glyphicon-calendar"></span>





<script type="text/javascript">

$(function () {


daysOfWeekDisabled: [0,6]








It will help you..