Thanks! I will send an update once I get it fixed
Trial and error, I got it to work using below.
$w.onReady(function () {
let today = new Date();
let startDate = new Date(today);
startDate.setDate(startDate.getDate() + 1); // Start Date +1 day from today //
let endDate = new Date(today);
$w(“#datePicker1”).minDate = startDate;
});
You don’t need the first line (the let today line).
You can start from:
let startDate = new Date();