Load the file's last modification time into time.
Declared in <bdls_filesystemutil_windowsimputil.h>
static
int
getLastModificationTime(
bdlt::Datetime* time,
FileDescriptor descriptor);
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. Note that the time is reported in UTC.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| time | receives the last modification time in UTC |
| descriptor | open file descriptor to query |