I need to get a file creation date&time using python. I tried:
os.stat(r"path")[ST_CTIME]
But it is returning:
1263538277
This is not the creation date time. Is there a way to do it?
See Question&Answers more detail:osI need to get a file creation date&time using python. I tried:
os.stat(r"path")[ST_CTIME]
But it is returning:
1263538277
This is not the creation date time. Is there a way to do it?
See Question&Answers more detail:os