MCPcopy Create free account
hub / github.com/AgoraIO/API-Examples / getCurrentTime

Function getCurrentTime

windows/APIExample/APIExample/stdafx.cpp:405–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403}
404
405CString getCurrentTime()
406{
407 SYSTEMTIME st = { 0 };
408 GetLocalTime(&st);
409 CString strTime;
410 strTime.Format(_T("%02d:%02d:%02d %02d"), st.wHour, st.wHour, st.wMinute, st.wMilliseconds);
411 return strTime;
412}
413
414CString GetExePath()
415{

Calls 1

FormatMethod · 0.80

Tested by

no test coverage detected