[#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 `&lt;bdls&lowbar;filesystemutil&period;h&gt;`

Load into the specified `time` the last modification time of the file with the specified `descriptor`, as reported by the filesystem&period; Return 0 on success, and a non&hyphen;zero value otherwise&period; The time is reported in UTC&period;


[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&period;&period;&period;_]#

Load into the specified `time` the last modification time of the file at the specified `path`, as reported by the filesystem&period; Return 0 on success, and a non&hyphen;zero value otherwise&period; The time is reported in UTC&period; The parameterized `STRING&lowbar;TYPE` must be one of `bsl&colon;&colon;string`, `std&colon;&colon;string`, `std&colon;&colon;pmr&colon;&colon;string` (if supported), `bsl&colon;&colon;string&lowbar;view`, or `bslstl&colon;&colon;StringRef`&period;


[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&period;&period;&period;_]#

Same as the overload taking `const char &ast;`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STRING&lowbar;TYPE&gt;
static
int
xref:BloombergLP/bdls/FilesystemUtil/getLastModificationTime-04.adoc[getLastModificationTime](
    xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime]* time,
    STRING&lowbar;TYPE const& path);
----

[.small]#xref:BloombergLP/bdls/FilesystemUtil/getLastModificationTime-04.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
