PyIStorage.SetElementTimes

SetElementTimes(name, ctime, atime, mtime)

Sets the modification, access, and creation times of the specified storage element, if supported by the underlying file system.

Parameters

name : str

The name of the storage object element whose times are to be modified. If NULL, the time is set on the root storage rather than one of its elements.

ctime : PyTime

Either the new creation time for the element or None if the creation time is not to be modified.

atime : PyTime

Either the new access time for the element or None if the access time is not to be modified.

mtime : PyTime

Either the new modification time for the element or None if the modification time is not to be modified.