Good day !
How can i find out the date of file ?
thanks,
Printable View
Good day !
How can i find out the date of file ?
thanks,
Hi, you can try somthing like that example.
[...]
WIN32_FIND_DATA dataFindFile;
FindFirstFile("MyFile.my",&dataFindFile);
CTime time(dataFindFile.ftCreationTime);
[...]
Regards,
Wladi.
try
CFile::GetStatus
hope this help
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 .