## Directory::SetCreationTimeUtc method


将指定实体的创建时间设置为 UTC 时间。

```cpp
static void System::IO::Directory::SetCreationTimeUtc(const String &path, DateTime date)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 路径 | const String\& | 要设置创建时间的实体 |
| date | DateTime | 一个表示要设置为 UTC 时间的时间的 [DateTime](../../../system/datetime/) 对象 |

## 另见

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