Jump to content

Ctime

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Strait (talk | contribs) at 03:03, 31 March 2005 (signed, rewording). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

ctime is the number of seconds since January 1, 1970. Commonly stored as a 32 bit signed integer, this number is used for pinpointing dates in many computers and operating systems, such as Linux and UNIX variants, as well as some programming languages. It will overflow in 2038; some expect this will be an event similar to Y2K.

ctime is also a Unix library call which returns the local time as a human readable ASCII string.

ctime in a Unix filesystem is a file attribute which tells when the file's directory entry (inode) was last modified. See: Stat (Unix).