JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Gallery
Share
Explore
Next Birthday
Get the next birthday right
get all birthdays right
make use of
Date()
to get the job done
Next Birthday
Next Birthday
Name
person
birthday
mistaken
correct
ageToday
leapYear
Name
person
birthday
mistaken
correct
ageToday
leapYear
Emmy → 2/29/1980
Emmy
2/29/1980
3/1/2026
3/1/2026
45
false
Naomi → 5/16/1940
Naomi
5/16/1940
5/16/2026
5/16/2026
85
false
Helgar → 7/25/1939
Helgar
7/25/1939
7/25/2026
7/25/2026
86
false
Christiaan → 8/15/1972
Christiaan
8/15/1972
8/15/2025
8/15/2025
52
false
Jodi → 4/25/1985
Jodi
4/25/1985
4/25/2026
4/25/2026
40
false
Steven → 11/30/2000
Steven
11/30/2000
11/30/2025
11/30/2025
24
false
There are no rows in this table
If
(
Date
(
Today
(
)
.
Year
(
)
,
thisRow
.
birthDay
.
Month
(
)
,
thisRow
.
birthDay
.
Day
(
)
)
>
Today
(
)
,
Date
(
Today
(
)
.
Year
(
)
,
thisRow
.
birthDay
.
Month
(
)
,
thisRow
.
birthDay
.
Day
(
)
)
,
Date
(
Today
(
)
.
Year
(
)
+
1
,
thisRow
.
birthDay
.
Month
(
)
,
thisRow
.
birthDay
.
Day
(
)
)
)
Today
(
)
.
Year
(
)
-
thisRow
.
birthday
.
Year
(
)
-
If
(
Date
(
Today
(
)
.
Year
(
)
,
thisRow
.
birthday
.
Month
(
)
,
thisRow
.
birthday
.
Day
(
)
)
>
Today
(
)
,
1
,
0
)
Explained in this blog ⤵️
Loading
medium.com
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.