Home Cooker Classes Others Rice CookerGX
Classes  >  directory  >  CreationTime(string)
directory class : CreationTime(string) setter

Description

Sets the date and time when the directory was created.

Syntax

directoryInstance.CreationTime = newCreationTime

Arguments

ClassNameDescription
stringnewCreationTimeThe new date and time when the directory was created.

Return value

None

Sample code

//anyDirectory is a instance of directory type.

anyDirectory.CreationTime = "3/04/2016 4:13:00";

Notes

It's a wrapper of the System.IO.DirectoryInfo.CreationTime.

The date and time string is converted to the C#'s DateTime type by the System.DateTime.Parse(String) method.

Links for reference

Copyright © Rice All rights reserved.