UrlHistoryLibrary/Win32api.cs
/// <summary>
/// Converts a file time to DateTime format.
/// </summary>
/// <param name="filetime">FILETIME structure</param>
/// <returns>DateTime structure</returns>
Converts a file time to DateTime format.
Converts a file time to DateTime format .
public static DateTime FileTimeToDateTime(FILETIME filetime)
		{
			SYSTEMTIME st = new SYSTEMTIME();
			FileTimeToSystemTime(ref filetime, ref st);
			return new DateTime(st.Year, st.Month, st.Day, st.Hour , st.Minute, st.Second, st.Milliseconds);
		}
public static DateTime FileTimeToDateTime ( FILETIME filetime ) { SYSTEMTIME st = new SYSTEMTIME ( ) ; FileTimeToSystemTime ( ref filetime , ref st ) ; return new DateTime ( st . Year , st . Month , st . Day , st . Hour , st . Minute , st . Second , st . Milliseconds ) ; }
Converts a file time to DateTime format.
Converts a file time to DateTime format .
None
filetime
FILETIME
None