Get started with bootstrap-ui-datetime-picker CDN

MIT licensed

Bootstrap-UI-Datetime-Picker is a Bootstrap-based component for selecting dates and times in forms.

Tags:
  • date-picker
  • time-picker
  • angular
  • bootstrap
  • angular-ui

Stable version

Copied!

How to start using bootstrap-ui-datetime-picker CDN


<!DOCTYPE html>
<html>
<head>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0-alpha1/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css">
    <link rel="stylesheet" href="https://cdn.cdnhub.io/bootstrap-ui-datetime-picker/2.6.4/css/bootstrap-datetimepicker.min.css">
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script src="https://cdn.cdnhub.io/bootstrap-ui-datetime-picker/2.6.4/datetime-picker.min.js"></script>
    <title>Get started with bootstrap-ui-datetime-picker CDN - cdnhub.io</title>
</head>
<body>
    <div class="container mt-5">
        <h1 class="text-center mb-5">Bootstrap-UI Datetime Picker Example</h1>
        <div class="row justify-content-center">
            <div class="col-md-6">
                <input type="text" id="datetimepicker1" class="form-control mb-3" placeholder="Select a date and time">
            </div>
        </div>
        <script>
            $('#datetimepicker1').datetimepicker({
                format: 'L'
            });
        </script>
    </div>
</body>
</html>
Copied!
Copied!
Copied!
Copied!

All versions