Bootstrap Datetimepicker Disable Minutes Example

Bootstrap Datetimepicker Disable Minutes Example

Today now in this example,I will show you how to set bootstrap datetimepicker disable minutes option in jquery. So here we can simply set to datetimepicker in html code.

So now we will check to datetimepicker disable minutes in juqery.Just need to follow bellow example

Example 1 :

<!DOCTYPE html>
    <title>bootstrap datetimepicker disable minutes -</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>
<div class="container">
    <h2>bootstrap datetimepicker disable minutes -</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 () {
                    format: 'DD/MM/YYYY h',         
                    minDate:new Date()

Read Also : Laravel 8 Eloquent Global Scope Tutorial Example

I hope it will help you. Also you can follow us on Facebook


About Shahriar Sagor

My name is Shahriar sagor. I'm a developer. I live in Bangladesh and I love to write tutorials and tips that will help to other Developer's. I am a big fan of PHP, Javascript, JQuery, Laravel, Codeigniter, VueJS, AngularJS and Bootstrap from the early stage.

View all posts by Shahriar Sagor →