How to remove the AM/PM text in CDateTimeCtrl ?
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
Hi, I created a CDateTimeCtrl control on my view. It is a 24 hour time format. But it still displays AM/PM . If it is 24 hr clock them AM/PM is not necessary there. SO I want to remove the AM/Pm text from control. How can I do this? Regards, Hemant Kulkarni.
-
Hi, I created a CDateTimeCtrl control on my view. It is a 24 hour time format. But it still displays AM/PM . If it is 24 hr clock them AM/PM is not necessary there. SO I want to remove the AM/Pm text from control. How can I do this? Regards, Hemant Kulkarni.
-
Thanks! I got the solution It is just to change the SetFormat() finction and not to pass tt t options in string