[SalesForce] Disable future dates in the Salesforce date picker

Is it possible to disable future dates in the Salesforce date picker? If so, how can this be done?

Best Answer

You can do in a complicated way using visual force and custom date picker. However I feel the best way to write a validation rule upon save to save if the selected date is in future or not, and throw the error respectively.