Summary
Sets the date and time, in Coordinated Universal Time (UTC), that the file was created.
- Namespace
- Cake
.Testing - Containing Type
- FakeDirectory
Syntax
public IDirectory SetCreationTimeUtc(DateTime creationTimeUtc)
Parameters
| Name | Type | Description |
|---|---|---|
| creationTimeUtc | DateTime | A DateTime containing the value to set for the creation date and time of path. This value is expressed in UTC time. |
Return Value
| Type | Description |
|---|---|
| IDirectory | A IFile instance representing the specified path. |
