倒计时计算器

计时日、小时和分钟 直至任何日期和时间

24-hour time, e.g. 18:30.
剩余时间 —
详细 —

输入结果时更新 。

这个计算器给你正确的答案了吗?

关于此计算器

A countdown calculator shows exactly how long until a future date and time — in days, hours and minutes. It subtracts the current moment from your target date and breaks the remaining gap down, counting to a specific time of day if you set one rather than just to midnight.

For example, setting a target of the next New Year’s Day counts down the days left in the year, with a detailed line showing days, hours and minutes remaining. Add a target time such as 18:30 under advanced options for a precise countdown to an exact moment rather than the start of the day.

Use it to count down to a holiday, a product launch, a wedding, a project deadline or a birthday. If the target has already passed, the calculator instead shows how long ago it was, marked "ago".

经常问到的问题

是否计时到一个特定的时间?

是。 在预选方案下设定目标时间,精确的倒计时数数数,否则计时到目标日期的午夜。

如果日期已经过去怎么办?

显示日期是多久前 标有"Ago"

剩余时间是如何计算的?

计算器将目标日期和时间与当前时间的差数取出, 然后将其转换为整日, 然后是剩余小时, 然后是详细分类的剩余分钟 。

倒计时使用什么时区?

它使用您设备的地方时间来“ 现在 ”, 所以倒计时会反映您所在的时钟。 目标输入的时间是在同一地方时区读取 。

具体日期前几天?

输入日期并读取“ 剩余时间” 结果, 从而给出剩余时间的完整天数。 目标时间留空, 以计数到当日的午夜 。

显示时数和分钟 以及天数吗?

是的,详细的行将倒计时时间按天数、小时和分钟分列,这就是为什么在预选下设定一个准确的目标时间比只算到午夜得出更准确的结果。

❤️ 爱 Calculator.Free? 分享它

𝕏  X Facebook Reddit
API - 使用代码中的计算器

将此计算器称为自由 JSON 端点 。 不需要按键 。 将字段值发送到下面作为查询参数或 JSON 。 任何您省略的, 都会使用相同的默认值, 此页面预填的默认值是预填的; 未知参数是 400, 而不是静音零 。 读取 API 全部文件 →

终点

GET https://calculator.free/api/v1/countdown/

curl

curl "https://calculator.free/api/v1/countdown/?target=2027-01-06"

JavaScript fetch()

const r = await fetch(
  "https://calculator.free/api/v1/countdown/?" + new URLSearchParams({
    "target": "2027-01-06"
  }));
const data = await r.json();
console.log(data.results);

成果仅是一般指导的估计数,而不是财务、医疗或税务咨询。