ULONGLONG GetTimeSpan()
{
/* WCHAR wszText[100];*/
__time64_t tmspan ;
__time64_t tmnow,tm1970;
struct tm atm ;
ZeroMemory(&atm,sizeof(tm));
tm1970 = _mktime64(&atm);
tmnow = GetTickCount();
tmspan = tmnow - tm1970 ;
// wsprintfW(wszText ,L"%I64u",tmspan);
// OutputDebugString(wszText);
return tmspan ;
}
时间: 2024-10-13 14:30:01