A LITTLE MORE IN SYNC

Unix timestamp converter: seconds, milliseconds and time zones

从日升月落,到分秒之间。你的日历,也是你的时间工具箱。

今天节气节日1900 — 2100

随手可用的小工具

少一点计算,多一点从容

时间戳转换

在数字和日期之间,轻松切换

自动识别秒 / 毫秒 · 使用当前时区

日期间隔

两段时光,相隔多少天?

不含开始当天 · 自然日计算

日期查询

选一天,看看那天的日历与农历。

关于时序

时序是一个专注日历与时间的小工具集。农历与节气使用 lunar-javascript 计算,传统历法以中国标准时间为基准。节日标记不代表法定放假安排。

首次访问使用 Cloudflare 提供的 IP 所在地区选择语言,不保存 IP;无法识别时使用浏览器语言。手动语言选择和世界时钟保存在当前浏览器。时间计算均在本地完成。

当前时间来自你的设备。Unix 时间不计闰秒;日期转换会提示夏令时缺失或重复时刻。支持键盘方向键浏览日历,Home 返回今天。

lunar-javascript · MIT License ↗

EASY ONLINE TOOLS

Unix timestamp converter: seconds, milliseconds and time zones

Convert Unix seconds or milliseconds to dates and convert local dates in a chosen time zone to timestamps, with UTC and daylight-saving edge cases explained.

How to use

  1. Enter a timestamp and choose the correct seconds or milliseconds unit.
  2. Choose the output time zone and convert.
  3. For the reverse direction, set a local date, time and time zone, then review and copy the result.

A verifiable example

Input / Result

0 seconds · UTC
1970-01-01 00:00:00 UTC

Frequently asked questions

Do 10 digits always mean seconds and 13 always mean milliseconds?

These are common for contemporary dates, not universal rules. Use the source documentation and explicit unit control; historical or distant dates can have different lengths.

Why can one timestamp display different dates?

A Unix timestamp identifies an instant. Its displayed local date depends on the selected time zone and may cross midnight.

What happens at daylight-saving transitions?

Some local times repeat or do not exist. Review the tool’s handling and verify the original time zone and UTC value for important records.