全球免费使用

日期加减天数

将日期向前或向后移动整数天。

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

输入

提示:按 Ctrl + Enter 运行

你的结果

结果将显示在这里。

下方的详细帮助目前仅提供英文版。

关于此工具

Notice periods, return windows, payment terms ("net 30") and medication schedules are often expressed as a number of days from a date. This calculator moves a date forward or backward by any number of whole days and returns the resulting date in ISO format (YYYY-MM-DD).

It counts calendar days. If your deadline is in business days, use the working days calculator to check how many weekdays fall in the period.

使用方法

  1. Pick the starting date.
  2. Enter the number of days: positive to go forward, negative to go back.
  3. Run the calculation.
  4. Read the resulting date and check whether it lands on a weekend or holiday that matters to you.

计算原理

The date is set to midnight UTC and the given number of days is added, so month lengths, leap years and year changes are handled by the calendar.

UTC date + integer days

计算示例

A 90-day free trial starting on October 19, 2026 ends on 2027-01-17. Counting 45 days back from March 31, 2026 gives 2026-02-14, useful when working backwards from a deadline.

示例输入和结果

2026-01-01 + 30 = 2026-01-31

局限性

  • Calendar days only; no business-day or holiday rules.
  • Whole days; for hours use the clock time calculator.
  • Gregorian calendar.

最后更新:

常见问题

Is the start date counted as day 1?

No. Adding 1 day to October 19 gives October 20. If your rule counts the start date as day 1, subtract one from the number of days.

How do I add months instead of days?

Months vary in length, so add them on a calendar. For example, one month after January 31 is usually treated as February 28 or 29.

Can I enter a negative number?

Yes, from −100,000 to 100,000 days.

故障排除

The result is one day off from my contract.

Check whether the contract counts the start day as day 1 or day 0.

The deadline falls on a Sunday.

Many legal deadlines roll to the next business day; check the rule that applies.

I need "30 days from today".

Choose today’s date as the start and enter 30.

隐私 & 免费使用

我的输入会被保存吗?

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

这个工具免费吗?

是的。无需注册或付费。

在浏览器中处理

推荐下一步