MFC - Displaying time in dialog
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
Hey I need to know how to display the system date and time in a static control in format: Day, Date, Time, AM/PM. Can someone please help me, this is a fundamental aspect to my program. Thankyou Ashman
have a look at
strtime
andstrdate
and related functions to create a formated string of a time and a date. and to put it on the dialog, create aCStatic
and useSetWindowText
.
Maximilien Lincourt Your Head A Splode - Strong Bad
-
Hey I need to know how to display the system date and time in a static control in format: Day, Date, Time, AM/PM. Can someone please help me, this is a fundamental aspect to my program. Thankyou Ashman