7 out of 10 rated this helpful - Rate this topic

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.

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

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.