timestamp
   HOME

TheInfoList



OR:

A timestamp is a sequence of characters or encoded information identifying when a certain event occurred, usually giving date and time of day, sometimes accurate to a small fraction of a second. Timestamps do not have to be based on some absolute notion of time, however. They can have any epoch, can be relative to any arbitrary time, such as the power-on time of a system, or to some arbitrary time in the past. The term "timestamp" derives from
rubber stamp A rubber stamp is an image or pattern that has been carved, molded, laser engraved or vulcanized onto a sheet of rubber. Rubber stamping, also called stamping, is a craft in which some type of ink made of dye or pigment is applied to ru ...
s used in offices to stamp the current date, and sometimes time, in ink on paper documents, to record when the document was received. Common examples of this type of timestamp are a postmark on a letter or the "in" and "out" times on a time card. In modern times usage of the term has expanded to refer to digital date and time information attached to digital data. For example, computer files contain timestamps that tell when the file was last modified, and
digital camera A digital camera is a camera that captures photographs in digital memory. Most cameras produced today are digital, largely replacing those that capture images on photographic film. Digital cameras are now widely incorporated into mobile devic ...
s add timestamps to the pictures they take, recording the date and time the picture was taken.


Digital timestamps

This data is usually presented in a consistent format, allowing for easy comparison of two different records and tracking progress over time; the practice of recording timestamps in a consistent manner along with the actual data is called timestamping. Timestamps are typically used for logging events or in a sequence of events (SOE), in which case each event in the log or SOE is marked with a timestamp. Practically all computer file systems store one or more timestamps in the per-file metadata. In particular, most modern operating systems support the POSIX stat (system call), so each file has three timestamps associated with it: time of last access (atime: ls -lu), time of last modification (mtime: ls -l), and time of last status change (ctime: ls -lc). Some file archivers and some
version control software In software engineering, version control (also known as revision control, source control, or source code management) is a class of systems responsible for managing changes to computer programs, documents, large web sites, or other collections ...
, when they copy a file from some remote computer to the local computer, adjust the timestamps of the local file to show the date/time in the past when that file was created or modified on that remote computer, rather than the date/time when that file was copied to the local computer. Timestamps are often found to be dirty in many cases. Without cleaning up inaccurate timestamps, time-related applications such as provenance analysis or pattern queries are not reliable. To evaluate the correctness of timestamps, temporal constraints can be applied, declaring distance limits between timestamps.


Standardization

ISO 8601 ISO 8601 is an international standard covering the worldwide exchange and communication of date and time-related data. It is maintained by the Geneva-based International Organization for Standardization (ISO) and was first published in 1988, ...
standardizes the representation of dates and times. These standard representations are often used to construct timestamp values.


Examples

Examples of timestamps: * Thurs 01-01-2009 6:00 * 2005-10-30 T 10:45 UTC * 2007-11-09 T 11:20 UTC * Sat Jul 23 02:16:57 2005 * 2009-10-31T01:48:52Z (ISO 8601) * 1256953732 (
Unix time Current Unix time () Unix time is a date and time representation widely used in computing. It measures time by the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970, the beginning of the Unix epoch, less adjustments ...
, equivalent to 2009-10-31T01:48:52Z) * (1969-07-21 T 02:56 UTC) * 07:38, 11 December 2012 (UTC) * 1985-102 T 10:15 UTC ''(year 1985, day 102 = 12 April 1985)'' * 1985-W15-5 T 10:15 UTC ''(year 1985, week 15, day 5 = 12 April 1985)'' * 20180203073000 (3 February 2018 7:30:00) * 123478382 ns (the nanoseconds since boot) * 17 minutes (an arbitrary minute counter which increments every 1 minute since its last manual "reset" event) Sequence number: * 21 (a unitless counter which indicates only the relative order of events; this is event #21, which comes after 20 and before 22)


See also

* Bates numbering * Timestamping (computing) * Timestamp-based concurrency control * Trusted timestamping * Decentralized Trusted Timestamping on the blockchain * Linked timestamping


Notes


References

{{Authority control Time