[#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 `time` the last modification time of the file with `descriptor`&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 `time` the last modification time of the file at `path`&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;_]#

Load into `time` the last modification time of the file at `path`&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;_]#

== 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
| *descriptor*
| file descriptor of the file
| *path*
| filesystem path of the file
|===


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