Files
2025-05-18 13:04:45 +08:00

26 lines
542 B
C++

// Copyright 2011-2020 Molecular Matters GmbH, all rights reserved.
#if LC_VERSION == 1
// BEGIN EPIC MOD
//#include PCH_INCLUDE
// END EPIC MOD
#include "LC_UtcTime.h"
// BEGIN EPIC MOD
#include "Windows/WindowsHWrapper.h"
// END EPIC MOD
uint64_t utcTime::GetCurrent(void)
{
FILETIME fileTime = {};
::GetSystemTimeAsFileTime(&fileTime);
ULARGE_INTEGER asLargeInteger = {};
asLargeInteger.LowPart = fileTime.dwLowDateTime;
asLargeInteger.HighPart = fileTime.dwHighDateTime;
return asLargeInteger.QuadPart;
}
#endif // LC_VERSION