Ctime: Difference between revisions
Appearance
Content deleted Content added
m sorted stub |
signed, rewording |
||
Line 1: | Line 1: | ||
'''ctime''' is the number of seconds since January 1, 1970. Commonly stored as a 32 bit [[integer (computer science)|integer]], this number is used for pinpointing dates in many [[computer]]s and [[operating system]]s, such as [[Linux]] and [[Unix|UNIX]] variants, as well as some [[programming language]]s. It will [[arithmetic overflow|overflow]] in [[2038]]; some expect this will be |
'''ctime''' is the number of seconds since January 1, 1970. Commonly stored as a 32 bit signed [[integer (computer science)|integer]], this number is used for pinpointing dates in many [[computer]]s and [[operating system]]s, such as [[Linux]] and [[Unix|UNIX]] variants, as well as some [[programming language]]s. It will [[arithmetic overflow|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''' is also a [[Unix]] library call which returns the local time as a human readable [[ASCII]] string. |
Revision as of 03:03, 31 March 2005
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).