[#BloombergLP-bdls-FilesystemUtil-getLastModificationTime-00] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil.adoc[FilesystemUtil]::getLastModificationTime :relfileprefix: ../../../ :mrdocs: Load into `time` the last modification time of the file at `path`. == Synopsis Declared in `<bdls_filesystemutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int getLastModificationTime( xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime]* time, char const* path); ---- == Description 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`. == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *time* | receives the last modification time in UTC | *path* | filesystem path of the file |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#