Hi @MSD52,
I am not aware of a function that hides certain dates within a DatePicker control. However, you could set the DefaultDate to today and show an error message if the date is in the future (and reset the date back to today).
(1) You will have to select the DataCard, go to the property panel on the right, select advanced and select unlock:

(2) Set the DefaultDate property of the DatePicker control to:
Today()
(3) Use the following function in the OnChange property of the DatePicker control:
If(
Self.SelectedDate > Today(),
//Show error message
Notify(
"You cannot select a date in the future.",
NotificationType.Error,
3000
);
//Reset date back to DefaultDate (being today)
Reset(Self)
)
If this solves your question, would you be so kind as to accept it as a solution.
Thanks!