[#BloombergLP-bdls-FilesystemUtil-getLastModificationTime-09] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil.adoc[FilesystemUtil]::getLastModificationTime :relfileprefix: ../../../ :mrdocs: `getLastModificationTime` overloads == Synopses Declared in `<bdls_filesystemutil.h>` Load into the specified `time` the last modification time of the file with the specified `descriptor`, as reported by the filesystem. Return 0 on success, and a non‐zero value otherwise. The time is reported in UTC. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdls/FilesystemUtil/getLastModificationTime-0a.adoc[getLastModificationTime]( xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime]* time, xref:BloombergLP/bdls/FilesystemUtil/FileDescriptor.adoc[FileDescriptor] descriptor); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil/getLastModificationTime-0a.adoc[_» more..._]# Load into the specified `time` the last modification time of the file at the specified `path`, as reported by the filesystem. Return 0 on success, and a non‐zero value otherwise. The time is reported in UTC. The parameterized `STRING_TYPE` must be one of `bsl::string`, `std::string`, `std::pmr::string` (if supported), `bsl::string_view`, or `bslstl::StringRef`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdls/FilesystemUtil/getLastModificationTime-00.adoc[getLastModificationTime]( xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime]* time, char const* path); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil/getLastModificationTime-00.adoc[_» more..._]# Same as the overload taking `const char *`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STRING_TYPE> static int xref:BloombergLP/bdls/FilesystemUtil/getLastModificationTime-04.adoc[getLastModificationTime]( xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime]* time, STRING_TYPE const& path); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil/getLastModificationTime-04.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#