Camouflage
Programmer
I am using the timer code from c++ in 21 days, which is basically the following:
CTime curTime = CTime::GetCurrentTime();
m_sTime.Format("%d:%d:%d", curTime.GetHour(),
curTime.GetMinute(),
curTime.GetSecond());
But if it is 3minutes & 9seconds past 9, I would like it to read 09:03:09 instead of 9:3:9.
Thanks
CTime curTime = CTime::GetCurrentTime();
m_sTime.Format("%d:%d:%d", curTime.GetHour(),
curTime.GetMinute(),
curTime.GetSecond());
But if it is 3minutes & 9seconds past 9, I would like it to read 09:03:09 instead of 9:3:9.
Thanks