Retrieves the current system date and time. The information is in Coordinated Universal Time (UTC) format.
void GetSystemTimeAsFileTime(
LPFILETIME lpSystemTimeAsFileTime
);
Parameters
- lpSystemTimeAsFileTime
-
[out]
A pointer to a
FILETIME structure to receive the current system date and time in UTC format.
Return Value
This function does not return a value.
Requirements
Client | Requires Windows Vista, Windows XP, Windows 2000 Professional, Windows NT Workstation 3.5 and later, Windows Me, Windows 98, or Windows 95. |
Server | Requires Windows Server "Longhorn", Windows Server 2003, Windows 2000 Server, or Windows NT Server 3.5 and later. |
Header | Declared in Winbase.h; include Windows.h. |
Library | Use Kernel32.lib. |
DLL |
Requires Kernel32.dll.
|
See Also
File Times
System Time
Time Functions
FILETIME
GetSystemTime
SYSTEMTIME
SystemTimeToFileTime