|
-
April 8th, 1999, 02:15 AM
#1
date of a file
Good day !
How can i find out the date of file ?
thanks,
-
April 8th, 1999, 02:45 AM
#2
Re: date of a file
Hi, you can try somthing like that example.
[...]
WIN32_FIND_DATA dataFindFile;
FindFirstFile("MyFile.my",&dataFindFile);
CTime time(dataFindFile.ftCreationTime);
[...]
Regards,
Wladi.
-
April 8th, 1999, 02:51 AM
#3
Re: date of a file
try
CFile::GetStatus
hope this help
-
April 8th, 1999, 05:00 AM
#4
Re: date of a file
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 .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|