Share

/tools/date-functions.php

Facebook Share Twitter Share

纪元时间戳到日期的转换

此工具提供以下日期时间操作函数(日期到时间戳和时间戳到日期)

当前日期/时间

Current Date:
Current Epoch time (in milliseconds):

日期到纪元时间(时间戳)

Converts Date to Timestamp

输入日期字符串

纪元时间戳

Epoch time (Timestamp) to Date

将时间戳转换为日期

大纪元

日期
+ Milliseconds


Unix time (also known as POSIX time or epoch time) is a system for describing instants in time, defined as the number of seconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970,[1][note 1] not counting leap seconds.[1][2][note 2] It is used widely in Unix-like and many other operating systems and file formats. Because it does not handle leap seconds, it is neither a linear representation of time nor a true representation of UTC.[note 3] Unix time may be checked on most Unix systems by typing date +%s on the command line. Source: Wikipedia
AKA:

纪元、时间戳、迄今为止的时间戳、unix 时间、秒