On this page
ntpath.getctime
Prev: ntpath.getatime | Up: ntpath | Next: ntpath.getmtime
Rel: ntpath.abspath, ntpath.basename, ntpath.commonpath, ntpath.commonprefix
Ref: docs.python.org — ntpath.getctime
Tags: #public #python3 #stdlib #ntpath
Import
import ntpath
from ntpath import getctime
Signature & Overview
ntpath.getctime(filename)
Return the metadata change time of a file, reported by os.stat().
Usage
import ntpath
assert ntpath.getctime('.') > 0
Gotchas
- Unix: metadata change time; Windows: creation time.
REPL Inspect
from ntpath import getctime
help(getctime)
Linked from
Related notes
- tuts/python3/stdlib_module/ntpath/getatime Linked here; links to this page; shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath/getmtime Linked here; links to this page; shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/ntpath/abspath Linked here; shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath/basename Linked here; shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath/commonpath Linked here; shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath/commonprefix Linked here; shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath/dirname shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath/exists shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath/expanduser shared tags: #ntpath, #stdlib