Windows file creation date/time using python

datetime, python

Solution

Why not?

>>> import time
>>> time.ctime(1263538277)
'Fri Jan 15 04:51:17 2010'

Looks like a valid creation time to me.

Problem

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?

Original source