FILETIME (Structures)
Last changed: -173.161.147.169

.
Summary
FILETIME

VB.Net Definition:

Structure FILETIME
   Public dwLowDateTime As Integer
   Public dwHighDateTime As Integer
End Structure

Alternative Managed Definition:

System.Runtime.InteropServices.FILETIME, or System.Runtime.InteropServices.ComTypes.FILETIME in the .NET Framework 2.0.

Notes:

None.

Sample:

C#

        public static DateTime FiletimeToDateTime(FILETIME fileTime) {
            long hFT2 = (((long) fileTime.dwHighDateTime) << 32) + fileTime.dwLowDateTime;
            return DateTime.FromFileTimeUtc(hFT2);
        }

        public static FILETIME DateTimeToFiletime(DateTime time) {
            FILETIME ft;
            long hFT1 = time.ToFileTimeUtc();
            ft.dwLowDateTime = (int) (hFT1 & 0xFFFFFFFF);
            ft.dwHighDateTime = (int) (hFT1 >> 32);
            return ft;
        }

Documentation
FILETIME on MSDN