SystemTimeToFileTime
SystemTimeToFileTime is a Win32 API function that converts a time expressed as a SYSTEMTIME structure to a FILETIME structure representing the same moment in Coordinated Universal Time (UTC). FILETIME stores time as a 64-bit value counting 100-nanosecond intervals since January 1, 1601 (UTC). The conversion maps the calendar-based fields of SYSTEMTIME (year, month, day, hour, minute, second, milliseconds) to the corresponding FILETIME value, which is stored as two 32-bit parts (dwLowDateTime and dwHighDateTime).
The function has the signature BOOL SystemTimeToFileTime(const SYSTEMTIME* lpSystemTime, LPFILETIME lpFileTime). The first parameter is a
Notes and context: SystemTimeToFileTime assumes the input SYSTEMTIME is in UTC. If your time is in local