Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CDateTime and how to get current date/time format

167 views
Skip to first unread message

mosfet

unread,
Nov 12, 2007, 4:19:25 AM11/12/07
to
HI,

I would like to display a 24H-hour format in a CDateTime Control so I
know the SetFormat method but how can I get the current date/time format
string ?

mosfet

unread,
Nov 12, 2007, 4:28:17 AM11/12/07
to
mosfet a écrit :
Ok I answer to myself : GetLocaleInfo(LOCALE_USER_DEFAULT,
LOCALE_STIMEFORMAT, szTimeFtm, 32);
0 new messages