How to convert from DateTime.ToFileTime()
back to a DateTime
object?
views:
395answers:
2Sometimes its so obvious :)
m0rb
2009-04-16 09:20:46
+5
A:
long value = DateTime.Now.ToFileTime();
DateTime when = DateTime.FromFileTime(value);
Marc Gravell
2009-04-16 09:16:45