Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GetSystemTimeAsFileTime function

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.

Remarks

Windows Phone 8: This API is supported.

Windows Phone 8.1: This API is supported.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

Winbase.h (include Windows.h)

Library

Kernel32.lib

DLL

Kernel32.dll

See also

File Times
FILETIME
GetSystemTime
System Time
SYSTEMTIME
SystemTimeToFileTime
Time Functions

 

 

Community Additions

Show:
© 2014 Microsoft