What does the output of return os.lstat(logFile)[ST_CTIME] mean?
alberttresens
albert.tresens at gmail.com
Mon Jul 26 12:54:23 EDT 2010
Hi,
I am trying to get the creation time of a file to be able to correlate it's
content timestamps with other log files.
In order to get the creation time of the file one a Linux machine i used:
return os.lstat(logFile)[ST_CTIME]
That returns to me something like: 1279620166
I would like to know the meaning of this number.
Is it in seconds since the epoch?
Or is some other respresentation?
Thanks,
Albert
--
View this message in context: http://old.nabble.com/What-does-the-output-of-return-os.lstat%28logFile%29-ST_CTIME--mean--tp29268605p29268605.html
Sent from the Python - python-list mailing list archive at Nabble.com.
More information about the Python-list
mailing list