• Advertisement

Archived

This topic is now archived and is closed to further replies.

File Modification Time

This topic is 5094 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m implementing a file system that can read both from archive files or directly from the OS file system. I''m now trying to make the decision automatic to whether it should open an archive file or system file depending on which one was modified last. Unfortunately, I don''t know how to determine the last modified date on a file. I''m using Windows XP and VC++ 6.0. I discovered the _utime and _futime functions, which are for setting the modification time, but there is no complimentary function for retrieving the modification time. Does anyone know a function that does this? Chris Pergrossi My Realm | "Good Morning, Dave"

Share this post


Link to post
Share on other sites
Advertisement
Since you''re in the realm of platform dependent code anyways, why not try the GetFileTime() Win32 function?

Share this post


Link to post
Share on other sites

  • Advertisement