How do I change a file mod time in c++?
This is the windows version. The Unix version is pretty much the same, except you don't have the funny underscores.
void setFileModSeconds(const std::string &s, time_t seconds)
tb.actime = seconds;
tb.modtime = seconds;