log timestamp in UTC
This commit is contained in:
parent
e0072116a0
commit
4d11fc38c6
1 changed files with 2 additions and 1 deletions
|
@ -205,7 +205,8 @@ void dbg_init()
|
|||
DWORD timestamp = util_get_timestamp(GetModuleHandleA(NULL));
|
||||
if (timestamp)
|
||||
{
|
||||
TRACE("timestamp = %s", _ctime32((const long*)×tamp));
|
||||
struct tm* timeinfo = _gmtime32((const long*)×tamp);
|
||||
TRACE("timestamp = %s", asctime(timeinfo));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue