This question comes from a reader of the Notion course. It has been organized and shared here. If you encounter similar issues while using Notion, feel free to leave a comment.
Reader's Question
If I want to create a birthday countdown, how can I set it up in Notion so that it reminds me every year how many days are left until a birthday, regardless of the year?
My Answer
Analysis
After a quick analysis, there are 3 possible scenarios:
- This year's birthday hasn't arrived yet
- This year's birthday is today
- This year's birthday has already passed
Since there are 3 scenarios to evaluate, we need to use the ifs() function and compare the "birthday date" with the built-in today() function.
Result
Table View

Calendar View

Gallery View

How It Works
First, use the dateBetween() function to calculate the current age by subtracting the date of birth from today's date today().

Then, use the dateAdd() function to calculate the next birthday. The logic checks whether this year's birthday equals today today():
- If yes, the next birthday is today
- If no, the next birthday is next year's birthday date:
Birthday.dateAdd(Σ Age + 1, "year")

Then calculate the countdown:

Here is the formula:
let(
diff,dateBetween(prop("下个生日"), today(), "days"),
ifs(
diff==0, "就在今天,生日快乐!",
diff ==1,"明天",
diff > 1, "还有 "+ diff + " 天"
)
)- First, a
diffvariable is defined: it calculates the difference between the "next birthday date" and "today's date":diff,dateBetween(prop("下个生日"), today(), "days") - The
ifs()function is used for multi-condition evaluation:- If
diffequals zero, the birthday is today - If
diffequals 1, the birthday is tomorrow - If
diffis greater than 1, it displays in the format "X days remaining"
- If
Finally, the style() function is used to enhance the display:

📘 FLO.W — Notion Personal Management System
FLO.W is a Notion-based personal management template that integrates tasks, notes, projects, habits, and more, complete with comprehensive tutorials.


