File date & time

dashley

Well-known member
Joined
May 27, 2005
Messages
59
Location
Tennessee
Programming Experience
10+
I'm trying to get a file date using the code below
(vb.net 2005 smartdevice 2005.)


Its returning #12/31/1600 4:00:00 PM#

It should be #7/16/2007 13:45:00 PM#


I've checked the settings on the device and the date and time is correct.
Any Ideas why it would return such a date?

Thanks


VB.NET:
Dim creationTime1 As DateTime = New System.IO.DirectoryInfo("\program files\MXNP_Cases\NP_Cases").CreationTime
 
Back
Top