SECFileSystem::GetFileCreateTime

BOOLSECFileSystem::GetFileCreateTime(const CString&FileName, CTime&time)

Returns the time and date the file was created.

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 created.

Example

CTime CreateTime;
BOOL bRetVal = fs.GetFileCreateTime("c:\\test.txt", CreateTime);

See Also

SECFileSystem  GetFileStatus  GetFileModifyTime  GetFileAccessTime  GetFileSize