## Directory::SetLastAccessTime method


Sets the last access time of the specified entity as local time.

```cpp
static void System::IO::Directory::SetLastAccessTime(const String &path, DateTime date)
```


| Parameter | Type | Description |
| --- | --- | --- |
| path | const String\& | The entity whose last access time to set |
| date | DateTime | A [DateTime](../../../system/datetime/) object representing the time to set as local time |

## See Also

* Class [String](../../../system/string/)
* Class [DateTime](../../../system/datetime/)
* Class [Directory](../)
* Namespace [System::IO](../../)
* Library [Aspose.PDF for C++](../../../)
