What is a Unix timestamp? What does online timestamp conversion do?

The time stamp mentioned in this article is two different concepts from the trusted time stamp we often say. The trusted time stamp we often say refers to the original The HASH value of the data message is bound to the authoritative time source, and the unforgeable electronic certificate is issued using digital signature technology. The Unix timestamp mentioned in this article refers to a time representation.

What is a Unix timestamp?

Unix timestamp (Unix timestamp), also known as Unix time or Posix time, is a time representation, defined as from January 01, 1970, 00:00:00 GMT (Beijing time, January 1, 1970) The total number of seconds from day 08:00:00) to the present time.

At present, a considerable number of operating systems use 32-bit binary numbers to represent time. The Unix timestamp of such systems can be used up to 03:14:7 seconds on January 19, 2038 GMT, and one second after that. Binary numbers will overflow errors, causing the system to misunderstand the time, causing software failures or system crashes, and systems that use 64 as binary numbers to represent time can be used up to 292,27,026,596 December 04 15:30:08 GMT seconds, this type of overflow problem does not occur.

Assuming that the time of the computer where the browser is located is accurate, then computers in any time zone in the world will generate the same timestamp number at this moment, and the timestamp can accurately represent a moment without being affected by the time zone.

What does online timestamp conversion do?

Online timestamp (Unix timestamp) conversion refers to the timestamp conversion Beijing time service, providing timestamp conversion service, as long as the timestamp information is input as needed, the timestamp can be easily converted to Beijing time. The 10-digit timestamp means that the timestamp is accurate to seconds and includes 10 integers; the 13-digit timestamp means that the timestamp is accurate to milliseconds and includes 13 integers. To convert between the two, simply multiply by 1000 or divide by 1000 to convert.

How to obtain timestamps in each programming language

Guess you like

Origin blog.csdn.net/lavin1614/article/details/130810236
Recommended