I am new to MFC and was working around with the DateTimePicker control. In my Window i have a DateTimePicker control, its member variable "m_valdate" with COleDateTime type. In my checkdate() i am just checking the dates with m_valdate.GetDay(),GetMonth() and GetYear(). But even if i select a different date in control, the values returned by the GetDay() and all are the same as previous. Please help me out here.
|All times are GMT +5.5. The time now is 19:20.|