Possible Duplicate:
How to get file creation & modification date/times in Python?
I would like to get the created date and time of a folder. Are there anyways to do that in python?
Thank you
You might use os.stat
to retrieve this information.
os.stat(path).st_mtime // time of most recent content modification,
os.stat(path).st_ctime // platform dependent; time of most recent metadata change on Unix, or the time of creation on Windows)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With