file class : LastWriteTime(string) setter
Sets a string that indicates the date and time when the file was last written to.
fileInstance.LastWriteTime = value
|string||The date and time when the file was last written to.|
file f = new file("c:\somewhere...");
f.LastWriteTime = "3/04/2016 4:13:00";
It's a wrapper of the System.IO.FileInfo.LastWriteTime property.
The assigned value need to be a string that can convert to the C#'s DateTime type.