Hi,
I want to get the current system's time as a string for further manipulation.
Can you give me a code for that ?
Thanks
Riyas.B
Growing Developer
Printable View
Hi,
I want to get the current system's time as a string for further manipulation.
Can you give me a code for that ?
Thanks
Riyas.B
Growing Developer
Code:CTime clTime = CTime::GetCurrentTime ();
CString clTimeString;
clTimeString.Format ("%02d:%02d%02d", clTime.GetHour (), clTime.GetMinute (), clTime.GetSecond ());
FILETIME to string
Laitinen