Get chosen date from UIDatePicker

This took me an age to track down. How do you get the value out of the UIDatePicker that the user has selected. Having used UIPickerView a lot, I thought that UIDatePicker object would have been an extension of UIPickerView and with the same methods, however this turned out not to be the case and the solution for UIDatePicker was much more straight forward.

[datePicker date]; //where datePicker is the name of your date picker instance