News

DTS_LONGDATEFORMAT Displays the date in long format, producing output like "Wednesday, January 3, 2000". DTS_SHORTDATEFORMAT Displays the date in short format, producing output like "1/3/00".
The date and time picker control will then display the current value using your custom format string. The following example code (where m_dtPicker is the CDateTimeCtrl object) demonstrates one ...