SetCreationTimeUtc()

Directory::SetCreationTimeUtc(const String&, DateTime) method

Sets the creation time of the specified entity as UTC time.

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

Arguments

ParameterTypeDescription
pathconst String&The entity whose creating time to set
dateDateTimeA DateTime object representing the time to set as UTC time

See Also