★LocalHost Run Under Construction
  • 首页
  • 文章
  • 工具
http://localhost
首页文章工具
全部工具›时间工具›Discord 时间戳生成器

Discord 时间戳生成器

将日期和时间转换为 Discord 的特殊时间戳格式,自动适应每位用户的本地时区和语言

输入日期时间

​

Discord 时间戳

​

工具选项

输入选项

将输入的日期时间视为 UTC。禁用则使用您的本地时区

时间戳格式

长日期和时间(例:2025年1月1日 星期一 14:30)
​

选择时间戳在 Discord 中的显示方式 — 悬停在每个选项上可查看示例

Discord 时间戳生成器

Discord 时间戳是一种动态显示日期和时间的特殊语法。它不显示固定时间,而是自动转换为每位查看者的本地时区和语言 — 让每个人都能看到适合其所在位置的正确时间。只需每行输入一个日期时间,选择格式,然后将结果直接粘贴到 Discord 中。该工具独立处理每一行 — 空行在输出中保留,无效行以 ❌ 标记,有效的日期时间即时转换。启用 UTC 模式可确保结果不受本地时区影响。


Discord 时间戳生成器 示例

点击尝试!

Convert a single datetime

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.

​
​

输入选项

将输入的日期时间视为 UTC。禁用则使用您的本地时区

时间戳格式

长日期和时间(例:2025年1月1日 星期一 14:30)
​

选择时间戳在 Discord 中的显示方式 — 悬停在每个选项上可查看示例

Convert multiple datetimes

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).

​
​

输入选项

将输入的日期时间视为 UTC。禁用则使用您的本地时区

时间戳格式

短日期和时间(例:2025年1月1日 14:30)
​

选择时间戳在 Discord 中的显示方式 — 悬停在每个选项上可查看示例

Relative timestamps

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.

​
​

输入选项

将输入的日期时间视为 UTC。禁用则使用您的本地时区

时间戳格式

相对时间(例:2小时前)
​

选择时间戳在 Discord 中的显示方式 — 悬停在每个选项上可查看示例


全部 时间工具


  • 将天数转换为小时数 — 将天数转换为小时数
  • 将小时转换为天 — 将小时转换为天
  • 将秒转换为时间 — 将秒数转换为时间格式
  • 将时间转换为秒 — 将时间格式转换为秒
  • 截断时钟时间 — 将时钟时间截断为指定的精度
  • 日期间隔时间 — 计算两个日期之间的时间
  • Crontab Guru — 用简单语言解析和解释 cron 表达式
  • 检查闰年 — 检查年份是否为闰年
  • 转换 Unix ↔ 日期 — 双向转换 Unix 时间戳和日期。
  • 把时间转换至十进制格式 — 把时段转化为小数小时值

LocalHost Run · 联系我们 · 隐私政策 · 使用条款

© 2026 LocalHost Run · localhost 指南、文章与开发者工具 · localhostrun.com
访客计数: 1025Best viewed in Netscape Navigator · 800×600© LocalHost Run