jQuery UI Datepicker

jQuery UI Datepicker

I'm using the jQuery datepicker and I need to display a message to the user if the Due Date they have chosen previously has passed. Is there a way to do this?