I was writing to some code where I needed to read the date value from a Calendar control in my page (Ajax toolkit: calendar extender).
The code below:>
A much better solution and IMO the best feature of all with the nullable class
DateTime newSelectedDate = myCalendarExtender.SelectedDate.GetValueOrDefault();