Beginner

距下次生日还有多少天

精确计算距您下次生日还有多少天、生日是星期几,以及您将年满的岁数。
Your date of birth
Defaults to today; change to count from another day
Days until next birthday
33

You will turn 31 on 星期六, 2026年8月15日

Today2026年8月15日33 天Progress through the year toward your birthday
Next birthday date
2026年8月15日
星期
星期六
Age you will turn
31
Weeks until
4.7
Step by step
  1. 1

    Next birthday date

    2026年8月15日
    Birthday month and day placed in the current year; if already past, the year advances by one.
  2. 2

    Days until birthday

    (next birthday − today) ÷ 86,400,000 = 33
    Both dates are at midnight local time so the division is exact.
结果仅为一般参考性的估算,并非专业建议——在依赖这些重要结果之前,请务必自行独立核实。 阅读完整免责声明.
快速解答

这个计算器是如何工作的?

您的下次生日是当前年份中您的出生月日,若已过则顺延至下一年。剩余天数等于该日期减去今天,向上取整。本工具还显示星期几、完整日期和您将年满的岁数,便于提前规划。

公式
daysUntil = ceil((nextBirthday − today) / 1 day), where nextBirthday rolls to next year if it has already passed
How this is calculated

输入出生日期(B)和参考日期(T,默认为今天)。计算器以参考年份中您的出生月日构建下次生日:next = Date(T.year, B.month, B.day)。若该日期今年已过(next < T),则年份加一,使倒计时始终指向即将到来的生日。

剩余天数为下次生日与今天的差值除以每天的毫秒数,向上取整:daysUntil = ceil((next − T) / 86,400,000)。您将年满的岁数简单地等于next.year − B.year,因为生日标志着又完整度过了一年。进度计显示您在该年中的进度,计算为(365 − daysUntil) / 365。

日期以本地时区解释并归一化为午夜,因此不足整天不会影响计数。若今天是您的生日,结果为0天。闰日生日(2月29日)依赖平台日期处理:在非闰年,JavaScript将2月29日移至3月1日,这是非闰年的通用惯例。

常见问题

倒计时显示0天,并向您致贺,因为下次生日就是当天本身。

即下次生日所在年份减去出生年份,等于您在那天完整度过的年数。

可以。将参考(今天)日期改为任意日期,计算器将从该日期向前计算至下次生日。

也称为

距离生日还有几天
下次生日倒计时
生日倒数
还有几天生日
生日计算器
快过生日
生日还有几天

APA

TG we-Calculate Editorial Team. (2026). 距下次生日还有多少天 [Online calculator]. TG we-Calculate. https://we-calculate.com/zh/calculator/days-until-birthday

Chicago

TG we-Calculate Editorial Team. "距下次生日还有多少天." TG we-Calculate. 2026. https://we-calculate.com/zh/calculator/days-until-birthday.

IEEE

TG we-Calculate Editorial Team, "距下次生日还有多少天," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/zh/calculator/days-until-birthday

BibTeX

@misc{wecalculate_days_until_birthday, title = {距下次生日还有多少天}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/zh/calculator/days-until-birthday}}, year = {2026}, note = {TG we-Calculate} }

这个计算器对您有帮助吗?