Directory: SetCreationTime

SetCreationTime

Sets the creation time of the specified directory to the local time.



 Public Sub SetCreationTime(
	  ByVal Path As String,
	  ByVal CreationTime As Variant )

Parameters

Path
[ByVal] String. The directory to set the creation time for.
CreationTime
[ByVal] Variant. A Date or cDateTime object of the new time.

Remarks

The time will have the UTC offset removed before setting the the directory to it. When the time is read, it will be in local time to the timezone.

See Also

Project VBCorLib Overview Class Directory Overview Directory Properties Directory Methods Move SetCreationTimeUtc