July 22nd, 2013, 01:36 PM
How To Get TimeStamp of a File -- File.GetCreationTime Not Working
I've searched around the net and the conventional answer for getting the timestamp of a file is to use
File.GetCreationTime. But for some reason, the return DateTime is always different than the timestamp of the file shown in Windows Exlorer.
I'd post sample code, but really, it's a one-liner with a call to File.GetCreationTime();
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.