Sets the timestamp on the file specified. Sets the create
timestamp, access timestamp and the last write timestamp.
[Visual Basic] Public Sub SetFileTimeStamp( _ ByVal filenameAndPath As String, _ ByVal timeStamp As Date, _ ByVal correctTimeStampForUtc As Boolean _ )
[C#] public void SetFileTimeStamp( stringfilenameAndPath, DateTimetimeStamp, boolcorrectTimeStampForUtc );
Parameters
filenameAndPath
The file name and path.
timeStamp
The timestamp to set on the file.
correctTimeStampForUtc
Indicates whether the file time stamp
should be corrected to the UTC timezone, or if it should adopt the
time for the local time zone.