void setLastModifiedSync(DateTime time)

Synchronously modifies the time the file was last modified.

If the attributes cannot be set, throws a FileSystemException.

Source

void setLastModifiedSync(DateTime time);