Want to create your next build in Notion with date formulas?
With Notion you can make databases while only needing a little knowledge of rearranging and if-statements. These 20 date formulas will help you with your next build.
1. DATE IS TOMORROW
formatDate(dateAdd(now(), 1, "days"), "L") == formatDate(prop("Date"), "L")
2. DATE IS TODAY
formatDate(prop("Date"), "L") == formatDate(now(), "L")
3. DATE IS BEFORE OR ON TODAY
now() > prop("Date")
4. DATE IS BEFORE TODAY
now() > prop("Date") and formatDate(prop("Date"), "L") != formatDate(now(), "L")
5. DATE IS AFTER OR ON TODAY
formatDate(now(), "L") == formatDate(prop("Date"), "L") or now() < prop("Date")
6. DATE IS AFTER TODAY
now() < prop("Date")
7. DATE LANDS IN THIS WEEK (M-SU)
formatDate(prop("Date"), "W") == formatDate(now(), "W")
8. DATE LANDS IN THIS WEEK (SU-SA)
formatDate(prop("Date"), "w") == formatDate(now(), "w")
9. TODAY FALLS WITHIN DATE-RANGE
now() > start(prop("Date-Range")) and now() < end(prop("Date-Range")) or or(formatDate(now(), "L") == formatDate(start(prop("Date-Range")), "L"), formatDate(now(), "L") == formatDate(end(prop("Date-Range")), "L"))
10. FROM DATE, FIND MONTH AND RETURN FIRST DAY OF MONTH
dateSubtract(prop("Date"), date(prop("Date")) - 1, "days")
11. FROM DATE, FIND MONTH AND RETURN LAST DAY OF MONTH
dateSubtract(dateAdd(dateSubtract(prop("Date"), date(prop("Date")) - 1, "days"), 1, "months"), 1, "days")
How to kickstart your freelancing career and earn $7,000+ per month building apps with no-code
Key takeaways from @codemap_io's top-earning freelancers
👇
10/ A technical background isn't necessary
It helps to have worked in tech, but the most important thing is to have genuine interest in creating new things and provide value for clients who are trying to build out their idea.
9/ Specialize and keep learning
Do your research and pick a tool(stack) that gives you the most opportunities to find work and upskill in it.
Join a Bootcamp or get started with one of many learning communities.
Slido is the ultimate Q&A and polling platform for live and virtual meetings and events. It offers interactive Q&A, live polls, and insights about your audience.