How do you get the date picked when the Date Time Picker is on a form
view? In a dialog I just get the value when the user clicks the OK

I assume you have to respond to a DTN_CLOSEUP but my member variable
m_time (CTime) attached to the control never updates.

CTime dteStart;

// Get the starting date

I get an error that GetTime doesn't take one parameter

dteStart = this->m_time.GetTime();

Still zero. I just need to get the date picked.

Any help appreciated, thanks.