All pastes #543555 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-06-06 03:28 UTC
rendered paste body
cartel@global:~$ touch wow
cartel@global:~$ python
Python 2.4.4 (#2, Jan 13 2007, 17:50:26)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from os import stat
>>> from datetime import datetime
>>> from stat import *
>>> datetime.fromtimestamp(stat("/home/cartel/wow")[ST_CTIME])
datetime.datetime(2007, 6, 6, 15, 25, 29)
>>> datetime.fromtimestamp(stat("/home/global/Misc Shit/Jhonen!/Squee/Squee 01.rar")[ST_CTIME])
datetime.datetime(2007, 6, 6, 15, 20, 1)