如何获取文件的创建时间 并将其赋给CString 变量
如何获取文件的创建时间 并将其赋给CString 变量
CFileFind finder;
CTime m_time;
CString m_time_str;
finder.GetCreationTime(m_time);
m_time_str=m_time.Format("%Y年%m月%d日 %H点%m分%S秒");
试试看上面这个
提供的这段代码没有指定文件名称
而且运行后有问题