Sorry, your browser cannot access this site
This page requires browser support (enable) JavaScript
Learn more >
  • human-readable date: 人类可读的时间
  • epoch/timestamp: 从某个固定的时间点开始的timestamp,单位有微秒的,也有毫秒的
    The Unix epoch (or Unix time or POSIX time or Unix timestamp) is the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT), not counting leap seconds (in ISO 8601: 1970-01-01T00:00:00Z)

在线转换工具,各种编程语言下不同时间的相互转化
https://www.epochconverter.com/

比如
C语言
https://www.epochconverter.com/programming/c
python

import calendar, time
calendar.timegm(time.strptime('2000-01-01 12:34:00', '%Y-%m-%d %H:%M:%S'))
# unit: secs

评论