Ctime: Difference between revisions
Appearance
Content deleted Content added
date +%s, UTC |
m +pl: |
||
Line 10: | Line 10: | ||
[[de:Unixzeit]] |
[[de:Unixzeit]] |
||
[[pl:Ctime]] |
Revision as of 02:14, 2 May 2005
ctime is the number of seconds since 0:00:00 January 1, 1970 UTC. 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.
To determine the current ctime on a UNIX system, issue the command "date +%s
".
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).