Retrieves the current system date and time. The information is in Coordinated Universal Time (UTC) format.
Syntax
void WINAPI GetSystemTimeAsFileTime(
__out 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
| Minimum supported client | Windows 2000 Professional |
| Minimum supported server | Windows 2000 Server |
| Header | Winbase.h (include Windows.h) |
| Library | Kernel32.lib |
| DLL | Kernel32.dll |
See Also
File Times
FILETIME
GetSystemTime
System Time
SYSTEMTIME
SystemTimeToFileTime
Time Functions
Send comments about this topic to Microsoft
Build date: 11/6/2008