tags:

views:

395

answers:

2

How to convert from DateTime.ToFileTime() back to a DateTime object?

+6  A: 

I guess DateTime.FromFileTime()

Sonoride
Sometimes its so obvious :)
m0rb
+5  A: 
    long value = DateTime.Now.ToFileTime();
    DateTime when = DateTime.FromFileTime(value);
Marc Gravell