## File::SetLastWriteTimeUtc method


Sets the last write time of the specified entity as UTC time.

```cpp
static void System::IO::File::SetLastWriteTimeUtc(const String &path, DateTime lastWriteTimeUtc)
```


| Parameter | Type | Description |
| --- | --- | --- |
| path | const String\& | The entity whose last write time to set |
| lastWriteTimeUtc | DateTime | A [DateTime](../../../system/datetime/) object representing the time to set as UTC time |

## See Also

* Class [String](../../../system/string/)
* Class [DateTime](../../../system/datetime/)
* Class [File](../)
* Namespace [System::IO](../../)
* Library [Aspose.Page for C++](../../../)
