You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
22 lines
499 B
C++
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;
|
|
}
|