What the page returns

Two dates go in, and two results come out. The inputs are a birth date and an as-of date, both in YYYY-MM-DD form, and the outputs are the date of the next birthday and the number of days until it. The defaults are a birth date of 2000-06-15 and an as-of date of 2024-06-14, so the next birthday is 2024-06-15 and the count is 1 day. The as-of date can be today or any other date, which makes the page useful for planning a party, counting down to a milestone or checking a past situation. The page works with calendar dates only and does not involve time of day or time zones.

The rule step by step

First, the page builds a birthday date in the same year as the as-of date, using the month and day of the birth date. For a birth date of February 29, a non-leap year has no such day, so the page uses February 28. Second, if that date comes before the as-of date, the birthday has already passed this year, so the page moves to the following year. Third, it counts the calendar days from the as-of date to the birthday date. If the as-of date is itself the birthday, the count is zero, not 365. With 2000-06-15 and 2024-06-14, the birthday in 2024 is June 15, which is after June 14, so the count is 1.

Birthday today and the day after

Two edge cases matter. When the as-of date equals the birthday, the answer is 0 days, and the next birthday shown is the same date, since the birthday is today. With a birth date of 2000-06-15 and as-of date 2024-06-15, you get 2024-06-15 and 0. If the as-of date is one day later, 2024-06-16, the birthday has passed, so the page moves to 2025-06-15, and the count is 364, because the days from June 16, 2024 to June 15, 2025 total 364 with no leap day in between. This rule matches what most people expect: a birthday today is not 365 days away. It also means you can run the page every day to see the countdown reach zero.

February 29 birthdays

People born on February 29 have a real birthday only in leap years. Legal systems and customs differ on whether a non-leap-year birthday falls on February 28 or March 1. This page uses February 28, and it says so on the page, so you know the convention before you read the result. Take a birth date of 2000-02-29 and an as-of date of 2025-01-10. The year 2025 is not a leap year, so the birthday is placed on 2025-02-28, and the count is 21 days to the end of January plus 28 in February, which is 49. With an as-of date of 2024-03-01, the 2024 birthday of February 29 has passed, so the page moves to 2025-02-28, and the count is 364. Check the rule against local practice if the date has a legal effect.

A second worked example

Consider a birth date of 1990-12-25 and an as-of date of 2024-06-14. The 2024 birthday is December 25, which is after June 14, so no move to the next year is needed. Counting days: 16 remain in June after the 14th, then 31 in July, 31 in August, 30 in September, 31 in October and 30 in November, which total 169, and then 25 days into December, for 194 days. The next birthday is 2024-12-25 and the count is 194. If the as-of date were 2024-12-26, the page would move to 2025-12-25 and the count would be 364. In weeks, 194 days is 27 weeks and 5 days, a convenient unit for scheduling a gift or a trip around the date.

Calendar days, not elapsed time

The count is the difference between calendar dates, so each date counts as one whole day regardless of the hour. Someone who plans to celebrate at midnight at the start of the birthday sees the same count as someone who plans to celebrate in the evening. Time zones do not matter, because the page takes dates as written. If you are comparing the dates of two people in different time zones, agree on which local date you use. Daylight saving time changes do not affect a count of calendar days, though they change the length of a particular day in hours. When you need hours or minutes, a tool that accepts times is the better choice.

The Gregorian calendar and the year range

The page uses the Gregorian calendar, the civil calendar in most of the world, and accepts years 0001 through 9999. Years are leap years if divisible by 4, except century years, which must be divisible by 400. So 2000 and 2400 are leap years, while 1900 and 2100 are not. Dates before the adoption of the Gregorian calendar in a given country, which happened at different times from 1582 onward, are shown as if the Gregorian rules applied then too, a convention called the proleptic Gregorian calendar. For modern birthdays this has no effect. For historical dates, the calendar in use at the time may differ, so do not rely on the page to convert them.

Entering dates correctly

Use four-digit years, two-digit months and two-digit days, separated by hyphens, as in 2000-06-15. This format, defined in ISO 8601, sorts correctly and avoids the day-month ordering confusion between regions. A date such as 03/04/2024 means March 4 in the United States and April 3 in many other countries, which is exactly the ambiguity the ISO form removes. An impossible date, such as 2023-02-29 or 2024-04-31, is not valid. If you do not know the birth year, enter any year that is plausible and ignore the age, since the next birthday and the day count depend only on the month and day.

Using the page for events and anniversaries

The same rule works for any yearly date, not only birthdays. Wedding anniversaries, work anniversaries, subscription renewals and memorial dates all repeat on the same month and day. Enter the original date as the birth date and the date you are standing on as the as-of date. For a February 29 anniversary, the February 28 rule applies in the same way. If you want to count the days until a date that is only a single occurrence, such as a deadline, use the date difference calculator instead, since it does not repeat the date yearly. When you need the weekday of the next birthday, check a calendar, because the page returns the date and the count only.

What the birthday count cannot tell you

This is a calendar-date calculator. It does not compute age in years, months and days, legal age thresholds, zodiac signs, or time of day, and it does not take account of different calendars such as the lunar calendars used for birthdays in some cultures. The February 29 convention is explicit on the page and may differ from the legal rule that applies to you, such as for driver licenses or voting age. Where a date has legal consequences, check the rule with the relevant authority. It also does not know which day a family or workplace celebrates when a birthday falls on a weekend.

Planning a countdown or a party

The day count suits simple planning. Seeing that a birthday is 23 days away helps with ordering a cake, sending invitations and finding a venue, which usually need lead time of a week or more. You can also enter several as-of dates to see when a deadline falls, for instance 30 days before the birthday for sending invitations, by subtracting 30 days from the birthday using a calendar. For a group of birthdays, run the page once per person and sort by days. If two birthdays are within a few days of each other, you can plan a shared event. Because the as-of date is an input, you can also test what the answer will be on a future date, such as the first day of a school term or a vacation.

Birthdays across years and what stays constant

The month and day never change, but the weekday does. A birthday on June 15 falls on a Saturday in 2024, a Sunday in 2025 and a Monday in 2026, moving forward one weekday each common year and two after a leap year. Over a 28-year span the pattern of weekdays repeats in the Gregorian calendar, apart from century years that skip a leap day. This is why some birthdays fall on a weekend only occasionally. The page does not give weekdays, but the date it returns can be looked up on any calendar. The day count itself varies from 0 to 364 for non-leap-year situations, or up to 365 when the span crosses a February 29, depending on where the as-of date sits.

Checking an age or milestone

The page gives the next birthday date, and the age you are turning follows by subtracting the birth year from the year of that date. For a birth date of 2000-06-15 and an as-of date of 2024-06-14, the next birthday is in 2024, so the person turns 24. Milestones such as 18, 21 or 65 can be found by adding that number of years to the birth year and entering the resulting date as the as-of date to see the day count. Legal ages are set by law in each jurisdiction and are tied to the date of birth, with rules for February 29 that vary, so check the official source for any legal threshold.