I need to get modify date from a file.
CFileStatus stat;
CFile::GetStatus(strFilePath, stat);
It returns 1585557924 to be CTime. (it look like a timestamp)
stat.m_mtime
I have a lot of file and I need to get modify date from each file as timestamp then sum all timestamp.
But It cannot convert stat.m_mtime to integer.
int sum_timestamp = 0;
sum_timestamp += (int)stat.m_mtime;
It error like these.
'no suitable conversion function from "ATL::CTime"to"int"exists'