Answer the question
In order to leave comments, you need to log in
How to set datapicker value several days after an arbitrary date?
Hello!
There is a calendar with datapicker library under bootstrap 4 with start and end position values.
The task is to be able to choose only a date starting from today for the start, and for the finish no earlier than 4 days after the start. To do this, I try to do this, but I get an error:
var d = e.date + 86400000*4;
$('#datetimepicker3').datetimepicker('minDate', d);
TypeError: minDate() Could not parse date parameter: 1553288400000
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question