http://www.matf.bg.ac.yu/~filip/nm/Seminarski/VC-21days-short/apf/apf.htm#Heading11 void CTyDlg::OnButton1() { UpdateData(); CString str; CTime tme; tme = m_timeCal; if (m_CalCtrl.GetCurSel(tme) == TRUE) { str.Format("%s", tme.Format("%A, %B %d, %Y"));// MessageBox (str); } UpdateData(FALSE); } CTime ----- http://publib.boulder.ibm.com/infocenter/iadthelp/v7r0/index.jsp?topic=/com.ibm.etools.iseries.langref.doc/rzan5mst273.htm