SECFileSystem::GetFileModifyTime

BOOLSECFileSystem::GetFileModifyTime(const CString&FileName, COleDateTime&time)

Returns the time and date the file was last modified.

Defined in: filesys.cpp

Return Value

Nonzero if successful; 0 if an error occurred.

Parameters

FileName

The name of the file.

time

The time that the file was modified.

Example

COleDateTime ModifyTime;
BOOL bRetVal = fs.GetFileModifyTime("c:\\test.txt", ModifyTime);

See Also

SECFileSystem  GetFileStatus  GetFileCreateTime  GetFileAccessTime  GetFileSize