1
Hi Venkat,
Default Jquery DatePicker does not have Time option https://jqueryui.com/datepicker/#default. You have to include other addon plugin. In my Example I have referred time picker.
Also I have proviede below sample. Let me know if you require further inforamtion.
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>jQuery UI Datepicker - Default functionality</title>
- <link rel="stylesheet" href="http://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
- <link rel="stylesheet" href="https://jqueryui.com/resources/demos/style.css">
- <link rel="stylesheet" href="http://trentrichardson.com/examples/timepicker/jquery-ui-timepicker-addon.css">
- <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
- <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
- <script type="text/javascript" src="http://trentrichardson.com/examples/timepicker/jquery-ui-timepicker-addon.js"></script>
- <script type="text/javascript" src="http://trentrichardson.com/examples/timepicker/i18n/jquery-ui-timepicker-addon-i18n.min.js"></script>
- <script type="text/javascript" src="http://trentrichardson.com/examples/timepicker/jquery-ui-sliderAccess.js"></script>
- <script>
- $( function() {
- $( "#datepicker" ).datetimepicker();
- } );
- </script>
- </head>
- <body>
- <p>Date: <input type="text" id="datepicker"></p>
-
- </body>
- </html>


1
Hi Venket,
Please find below details
$('#basic_example_1').datetimepicker();
Ref : http://trentrichardson.com/examples/timepicker/
0
Hi,
Please check the following examples :
https://stackoverflow.com/questions/11183730/jquery-ui-datetimepicker-change-date-time-format-showed-in-text
https://coderwall.com/p/muwupg/datepicker-with-time-timepicker-jquery-ui
https://github.com/xdan/datetimepicker
https://www.malot.fr/bootstrap-datetimepicker/demo.php