@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: Converts a Structures.[SystemTime] to a Structures.[FileTime]. !!!!C# Signature: [DllImport("kernel32.dll", EntryPoint = "SystemTimeToFileTime", SetLastError = true)] public static extern bool SystemTimeToFileTime(ref SYSTEMTIME lpSystemTime, ref FILETIME lpFileTime); !!!!VB Signature: Declare Function SystemTimeToFileTime Lib "Coredll.dll" (TODO) As TODO !!!!User-Defined Types: Structures.[SystemTime] and Structures.[FileTime] !!!!Alternative Managed API: Do you know one? Please contribute it! !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: //Taken from http://www.codeproject.com/csharp/timezoneconversions.asp?print=true private static DateTime SystemTimeToDateTime(ref SYSTEMTIME st) { FILETIME ft = new FILETIME(); SystemTimeToFileTime(ref st, out ft); DateTime dt = new DateTime((((long)ft.dwHighDateTime) << 32) | (uint)ft.dwLowDateTime); return dt; } Documentation: SystemTimeToFileTime@msdn on MSDN
Edit coredll.SystemTim...
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.