Hey
Do it like this.
let badDate = new Date(now.getFullYear(), now.getMonth(), now.getDate());
$w("#datePickerID").disabledDates = [badDate];
That way the todays date will be disabled. If you like my comment please mark it as TOP COMMENT as it helps me a lot.
Thank you!