GetSystemTimeAsFileTime function (sysinfoapi.h)
Retrieves the current system date and time. The information is in Coordinated Universal Time (UTC) format.
Syntax
void GetSystemTimeAsFileTime(
[out] LPFILETIME lpSystemTimeAsFileTime
);
Parameters
[out] lpSystemTimeAsFileTime
A pointer to a FILETIME structure to receive the current system date and time in UTC format.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | sysinfoapi.h (include Windows.h) |
Library | Kernel32.lib |
DLL | Kernel32.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för