Boost logo

Boost Users :

Subject: Re: [Boost-users] Find last modified date of file
From: Christopher Currie (christopher_at_[hidden])
Date: 2009-03-24 15:06:27


On Tue, Mar 24, 2009 at 10:25 AM, Thor Andreas Tangen <thorsan_at_[hidden]> wrote:
> Is it possible by using boost to find the last modified date of a file?
> I looked in filesystem, but could not find it there.

http://www.boost.org/doc/libs/1_38_0/libs/filesystem/doc/reference.html#Attribute-functions

Look at the function:
   template <class Path> std::time_t last_write_time(const Path& p);

HTH,
Christopher


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net