Jquery Date time picker – Show only required dates enabled
<html> <head> <script src=”https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js”></script> <script type=”text/javascript” src=”https://cdnjs.cloudflare.com/ajax/libs/jquery-datetimepicker/2.5.20/jquery.datetimepicker.full.min.js”></script> <link rel=”stylesheet” type=”text/css” href=”https://cdnjs.cloudflare.com/ajax/libs/jquery-datetimepicker/2.5.20/jquery.datetimepicker.css”> </head> <body> <script> jQuery(document).ready(function(){ var allowedDate = ; jQuery(‘#date-needed’).datetimepicker({ format: ‘Y-m-d’, timepicker:false, // maxDate: ”, onShow:function( ct ){ this.setOptions({…