var currentdate = new Date();
$( document ).ready(function() { var dateToday = new Date(); $(function() { $('#datetimepicker2').datepicker({ maxDate: dateToday }); }); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)