Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting File creation time

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Can C++ find the date a file was created? I can get the last access and modification time in a Perl script but was wondering if I can get the actual creation time of a file using C++????
 
Look into CFileStatus. It has a m_ctime member variable which holds the time created. CFile::GetFileStatus is how you use it.

Good Luck
Matt
 
Any books I can get to give me more informaton on the GetFileStatus?? Or anywhere I can find out how to work with it? I cant seem to find it in my books.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top