@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/default.aspx/Structures/$$$.htm Summary: The GetSystemTimePreciseAsFileTime function retrieves the current system date and time with the highest possible level of precision (<1us). The retrieved information is in Coordinated Universal Time (UTC) format. !!!!C# Signature: [DllImport("kernel32.dll", SetLastError=true)] static extern void GetSystemTimePreciseAsFileTime(out FILETIME lpSystemTimeAsFileTime); !!!!VB Signature: Declare Sub GetSystemTimePreciseAsFileTime Lib "kernel32.dll" (ByRef LPFILETIME lpSystemTimeAsFileTime) !!!!User-Defined Types: FileTime@pinvoke !!!!Alternative Managed API: The .Net Core CLR uses this API in the implementation of DateTime.UtcNow. To my knowledge the .NET Framework does not !!!!Notes: This function is best suited for high-resolution time-of-day measurements, or time stamps that are synchronized to UTC. For high-resolution interval measurements, use QueryPerformanceCounter or KeQueryPerformanceCounter. For more info about acquiring high-resolution time stamps, see Acquiring high-resolution time stamps. Minimum supported client Windows 8 [desktop apps | UWP apps] Minimum supported server Windows Server 2012 [desktop apps | UWP apps] !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! Documentation: https://docs.microsoft.com/en-us/windows/desktop/api/sysinfoapi/nf-sysinfoapi-getsystemtimepreciseasfiletime
Edit kernel32.GetSyste...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.