[#BloombergLP-bdls-FilesystemUtil-getLastModificationTime-04]
= 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`&period;

== Synopsis

Declared in `&lt;bdls&lowbar;filesystemutil&period;h&gt;`

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

== Description

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

== Return Value

0 on success, and a non&hyphen;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]#
