GetSystemTimeAsFileTime Function

Retrieves the current system date and time. The information is in Coordinated Universal Time (UTC) format.

Syntax

C++
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 clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll

See Also

File Times
FILETIME
GetSystemTime
System Time
SYSTEMTIME
SystemTimeToFileTime
Time Functions

Send comments about this topic to Microsoft

Build date: 10/8/2009

Tags :


Page view tracker