Create DateTime from file time in equivalent UTC time in CSharp
Description
The following code shows how to create DateTime from file time in equivalent UTC time.
Example
using System;/* w w w . j av a2 s .c o m*/
public class MainClass{
public static void Main(String[] argv){
DateTime dt = DateTime.FromFileTimeUtc(12123123123123123);
System.Console.WriteLine(dt);
}
}
The code above generates the following result.