1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-24 17:49:52 +01:00

log timestamp in UTC

This commit is contained in:
FunkyFr3sh 2024-09-22 23:31:24 +02:00
parent e0072116a0
commit 4d11fc38c6

View File

@ -205,7 +205,8 @@ void dbg_init()
DWORD timestamp = util_get_timestamp(GetModuleHandleA(NULL)); DWORD timestamp = util_get_timestamp(GetModuleHandleA(NULL));
if (timestamp) if (timestamp)
{ {
TRACE("timestamp = %s", _ctime32((const long*)&timestamp)); struct tm* timeinfo = _gmtime32((const long*)&timestamp);
TRACE("timestamp = %s", asctime(timeinfo));
} }
} }
} }