CDateTimeCtrl::SetFormat

This method sets the display of a date and time picker (DTP) control based on a specified format string.

At a Glance

Header file: Afxdtctl.h
Platforms: H/PC Pro
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL SetFormat( LPCTSTR pstrFormat );