Files
Tim Smith b48b94b010 Integration of Live++ 1.6.3
#rb none
#rnx

[CL 14926202 by Tim Smith in ue5-main branch]
2020-12-15 09:27:44 -04:00

22 lines
499 B
C++

// Copyright 2011-2020 Molecular Matters GmbH, all rights reserved.
// 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;
}