PC CLOCK
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
// Doesn't Support Unicode
CString strTime = COleDateTime::GetCurrentTime().Format("%I:%M:%S %p, %m/%d/%y");
// Does Support Unicode
CString strTime = COleDateTime::GetCurrentTime().Format(_T("%I:%M:%S %p, %m/%d/%y"));The format adjusts how it ends up looking I don't know the specifics but it should be in VC++'s help. -:suss:Matt Newman:suss: -:suss:Matt Newman:suss: -Sonork ID: 100.11179:BestSnowman