April 8th, 1999, 02:15 AM
Good day !
How can i find out the date of file ?
thanks,
How can i find out the date of file ?
thanks,
|
Click to See Complete Forum and Search --> : date of a file April 8th, 1999, 02:15 AM Good day ! How can i find out the date of file ? thanks, April 8th, 1999, 02:45 AM Hi, you can try somthing like that example. [...] WIN32_FIND_DATA dataFindFile; FindFirstFile("MyFile.my",&dataFindFile); CTime time(dataFindFile.ftCreationTime); [...] Regards, Wladi. Candan April 8th, 1999, 02:51 AM try CFile::GetStatus hope this help Raj Pal April 8th, 1999, 05:00 AM FileDateTime This method returns a Variant (Date) that indicates the date and time when a file was created or last modified. Syntax filesystem.FileDateTime (Pathname) Argument pathname The required pathname argument is a string expression that specifies a file name. The pathname may include the directory or folder. Hope this will help..It is without MFC, otherwise try CFile::GetStatus . codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |