J
Juan Romero
Guys,
I am reading file information from disk using the System.IO.File object.
This is what the operating system is displaying on Explorer:
File Name Modified
====================================
File1.ext 6/19/2003 1:05 PM
File2.ext 6/14/2000 12:46 PM
This is what my program reads:
File Name Modified
====================================
File1.ext 12/7/1999 7:00:00 AM
File2.ext 9/19/2001 1:50:25 PM
It reads wrong dates (and the same) with all 3 methods:
File.GetCreationTime(FilePath)
File.GetLastAccessTime(FilePath)
File.GetLastWriteTime(FilePath)
(All 3 methods return the same date)
What am I doing wrong????
Is there any work I have to do on the dates to get this to work?
I am Eastern Time Zone by the way.
Thanks!
I am reading file information from disk using the System.IO.File object.
This is what the operating system is displaying on Explorer:
File Name Modified
====================================
File1.ext 6/19/2003 1:05 PM
File2.ext 6/14/2000 12:46 PM
This is what my program reads:
File Name Modified
====================================
File1.ext 12/7/1999 7:00:00 AM
File2.ext 9/19/2001 1:50:25 PM
It reads wrong dates (and the same) with all 3 methods:
File.GetCreationTime(FilePath)
File.GetLastAccessTime(FilePath)
File.GetLastWriteTime(FilePath)
(All 3 methods return the same date)
What am I doing wrong????
Is there any work I have to do on the dates to get this to work?
I am Eastern Time Zone by the way.
Thanks!