将天数转换为小时数
将天数转换为小时数
将日期和时间转换为 Discord 的特殊时间戳格式,自动适应每位用户的本地时区和语言
Discord 时间戳是一种动态显示日期和时间的特殊语法。它不显示固定时间,而是自动转换为每位查看者的本地时区和语言 — 让每个人都能看到适合其所在位置的正确时间。只需每行输入一个日期时间,选择格式,然后将结果直接粘贴到 Discord 中。该工具独立处理每一行 — 空行在输出中保留,无效行以 ❌ 标记,有效的日期时间即时转换。启用 UTC 模式可确保结果不受本地时区影响。
选择时间戳在 Discord 中的显示方式 — 悬停在每个选项上可查看示例
In this example, we convert a single datetime into a Discord timestamp using the Long Date & Time format (F). The input is an ISO 8601 datetime string and the output is a Discord timestamp that will display the full date and time in each viewer's local timezone.
选择时间戳在 Discord 中的显示方式 — 悬停在每个选项上可查看示例
In this example, we convert multiple datetimes at once — one per line. Blank lines are preserved in the output. Each valid datetime is converted to a Discord timestamp using the Short Date & Time format (f).
选择时间戳在 Discord 中的显示方式 — 悬停在每个选项上可查看示例
In this example, we use the Relative format (R) which displays how long ago or how far in the future a datetime is — for example "2 hours ago" or "in 3 days". This format is useful for countdowns or activity feeds and updates dynamically in Discord.
选择时间戳在 Discord 中的显示方式 — 悬停在每个选项上可查看示例