mutapath.MutaPath.mtime
- property MutaPath.mtime[source]
Last modified time of the file.
Allows setting:
>>> some_file = Path(getfixture('tmp_path')).joinpath('file.txt').touch() >>> MST = datetime.timezone(datetime.timedelta(hours=-7)) >>> some_file.mtime = datetime.datetime(1976, 5, 7, 10, tzinfo=MST) >>> some_file.mtime 200336400.0
See also