jquery code datetimepicker code example

Example 1: jquery datetimepicker example code

$('#datetimepicker5').datetimepicker({
    format:'Y-m-d H:i',
    step:15
});

Example 2: datetimepicker jquery

############### JS ##############  
1. npm i jquery-datetimepicker

2. Include inside js file

import "jquery-datetimepicker";

$('#datetimepicker').datetimepicker();

############## CSS ###################

3. Include inside css/scss file

@import "jquery-datetimepicker/build/jquery.datetimepicker.min.css";