Get started with jquery-datetimepicker CDN

MIT licensed

JQuery DateTimePicker: Lightweight plugin for custom date-time inputs in HTML forms.

Tags:
  • jquery-plugin
  • calendar
  • date
  • time
  • datetime
  • datepicker
  • timepicker

Stable version

Copied!

How to start using jquery-datetimepicker CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with jquery-datetimepicker CDN - cdnhub.io</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-datetimepicker/2.5.20/jquery.datetimepicker.min.css">
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script src="https://cdn.cdnhub.io/jquery-datetimepicker/2.5.20/jquery.datetimepicker.full.min.js"></script>
</head>
<body>
    <input type="text" id="datetimepicker1" class="datetimepicker">
    <script>
        $(function() {
            $('#datetimepicker1').datetimepicker({
                format: 'Y-m-d H:i:s'
            });
        });
    </script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!

All versions