Group: Time - Library: kernel32
The GetSystemTimeAsFileTime function retrieves the current system date and time. The information is in Coordinated Universal Time (UTC) format.
Setting the date and time that a file was created
void GetSystemTimeAsFileTime(
LPFILETIME lpSystemTimeAsFileTime
);
DECLARE GetSystemTimeAsFileTime IN kernel32;
STRING @lpSystemTimeAsFileTime
lpSystemTimeAsFileTime [out] Pointer to a FILETIME structure to receive the current system date and time in UTC format.
This function does not return a value.
This function is useful when you need to set a file time using current system time. Otherwise you would use a succession of GetSystemTime and SystemTimeToFileTime functions.