跳到正文Skip to content

时间戳转换Unix Timestamp Converter

Unix 时间戳与日期时间互转,支持秒和毫秒。Convert Unix timestamps to dates and back, in seconds or milliseconds.

理念:Idea: 时间看得懂,排查更从容。Readable times, calmer debugging.

解决:Solves: 时间戳和日期互转,不用心算Converts timestamps and dates

适合:For: 看日志、调接口的人Anyone reading logs or APIs

可用Available在浏览器中运行Runs in your browser
Loading tool…

在你的设备上本地处理。这里输入的内容不会上传。Processed locally on your device. Nothing you enter here is uploaded.

使用方法How to use

  1. 1粘贴一个时间戳,或按「Now」。Paste a timestamp, or press “Now”.
  2. 2单位会自动判断,需要时可以改。The unit is detected automatically; override it if needed.
  3. 3也可以选一个日期和时间,得到对应的时间戳。Or pick a date and time to get its timestamp.

说明Good to know

  • 自动判断时,13 位及以上当作毫秒,更短的当作秒。Auto-detect treats values with 13 or more digits as milliseconds and shorter values as seconds.
  • 本地时间用的是这台设备的时区。Local time uses the time zone of your device.
  • 日期计算器Date Calculator

    计算两个日期之间的天数,或对日期加减天数。Count the days between two dates, or add and subtract days from a date.

    可用Available计算与换算Calculators
  • 时区转换Time Zone Converter

    在 26 个主要时区间换算时间,自动处理夏令时。Convert a date and time between 26 major time zones, with daylight saving applied.

    可用Available计算与换算Calculators
  • 存储单位换算Data Size Converter

    字节、KB/MB/GB/TB(十进制)与 KiB/MiB/GiB/TiB(二进制)并排换算。Convert bytes, KB, MB, GB, TB (decimal) and KiB, MiB, GiB, TiB (binary) side by side.

    可用Available计算与换算Calculators
  • 折扣计算器Discount Calculator

    算折后价、节省金额和实际折扣,也能从现价反推折扣。Find the final price, savings and effective discount, or work backwards from a sale price.

    可用Available计算与换算Calculators