Skip to main content
DevTools24

时间戳-日期时间转换器

在 Unix 时间戳和人类可读日期之间即时转换。

Current Time:
Note: All times are in UTC. The datetime picker uses local time input but converts to UTC for timestamp calculation.

日期时间转换器 - 技术详情

此工具将 Unix 时间戳(毫秒或秒)转换为人类可读的日期格式,反之亦然。Unix 时间戳表示自 1970 年 1 月 1 日(UTC)以来的秒数/毫秒数。

命令行替代方案

date +%s      # Get current timestamp in seconds\ndate -d @1672531199   # Convert timestamp to human-readable format

参考

查看官方规范