This would be your first example to start with Selenium
Table consisting of two TextBoxes one for selecting the Start (From) date while other for selecting the End (To) date.
Start Date should be less than End date
Start Date and the dates before the Start Date disabled in the End Date
End Date and the dates after the End Date disabled in the Start Date