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-tw/calculator/days-until-birthday

Chicago

TG we-Calculate Editorial Team. "距下次生日的天數." TG we-Calculate. 2026. https://we-calculate.com/zh-tw/calculator/days-until-birthday.

IEEE

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

BibTeX

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

這個計算機對您有幫助嗎?