I want my datetimepicker dialog box to set limit to next 365 days(1 year). How can I get this using Jquery. here is my code.
$('.dt-expiry-date-time').datetimepicker({
dayOfWeekStart: 1,
format: 'Y-m-d H:i:s',
lang: 'en',
startDate: new Date(),
step: 5,
minDate: new Date(),
});
Please help me with this.