I am using the DateTime.ToFileTime and FromFileTime methods to store and retrieve timestamps in a database. The mininum windows file time is midnight, Jan 1, 1601. Is there a constant similar to DateTime.MinValue, that describes this value?
views:
23answers:
1
+4
A:
No, but it is simple to create your own:
public static readonly DateTime MinFileTime = DateTime.FromFileTimeUtc(0);
Hans Passant
2010-01-29 22:06:35
ah yes,of course ;-)
Dabblernl
2010-01-29 22:42:12