Get and set file date and time
-
Hi all, I am using a CFile class to work with a file and I would like it to retain its original date and time setting. I obviously forgot what to use to get and set the date and time of a file. Pease help (I seem to remember that I should not use the CFile class itself but maybe do something with CFileFind; however this gets a file date and time, but does not set it) Thanks in advance, William
-
Hi all, I am using a CFile class to work with a file and I would like it to retain its original date and time setting. I obviously forgot what to use to get and set the date and time of a file. Pease help (I seem to remember that I should not use the CFile class itself but maybe do something with CFileFind; however this gets a file date and time, but does not set it) Thanks in advance, William
Why are you not using
CFile::SetStatus()
?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
-
Why are you not using
CFile::SetStatus()
?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
Thanks, That was indeed the one I forgot about. Regards, William