last_write_time Function
Determines the last write time for a specified file.
template<class Path>
inline time_t last_write_time(
const Path& Pval
);
Parameters
- Pval
A Path object. Path can be either a basic_path or a type that's derived from basic_path.
Return Value
A time_t value that holds the last write time for the file that's specified by Pval, or 0 if the time cannot be determined.
Requirements
Header: filesystem
Namespace: std::tr2::sys