simple date time picker code example
Example 1: 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";
Example 2: start day picker and end date picker in php
<div class="em-date-range">From
<input class="em-date-input-loc em-date-start" type="text" name="ticket_start_pub" />
<input class="em-date-input" type="hidden" name="ticket_start" />
to
<input class="em-date-input-loc em-date-end" type="text" name="ticket_end_pub" />
<input class="em-date-input" type="hidden" name="ticket_end" /></div>