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")
12. DATE LANDS IN LEAP YEAR
if( year( prop("Date") ) % 4 == 0, if( year( prop("Date") ) % 100 == 0, if( year( prop("Date") ) % 400 == 0, true, false ), true ), false )
13. WEEK NUMBER OF MONTH DATE LANDS IN (M-SU)
ceil((date(prop("Date")) + day(dateSubtract(prop("Date"), date(prop("Date")) - 1, "days")) - 1) / 7)
14. WEEK NUMBER OF MONTH DATE LANDS IN (SU-SA)
ceil((date(prop("Date")) + day(dateSubtract(prop("Date"), date(prop("Date")) - 1, "days"))) / 7)
15. WEEKLY PROGRESS INDICATOR FROM DATE (SU-SA)
slice("◻️◻️◻️◻️◻️◻️◻️", 0, day(prop("Date")) * 2) + "🔲" + slice("◼️◼️◼️◼️◼️◼️◼️", 1, 14 - day(prop("Date")) * 2)
16. WEEKLY PROGRESS INDICATOR FROM DATE (M-SU)
if(day(prop("Date")) != 0, slice("◻️◻️◻️◻️◻️◻️◻️", 0, (day(prop("Date")) - 1) * 2) + "🔲" + slice("◼️◼️◼️◼️◼️◼️◼️", 1, 14 - (day(prop("Date")) - 1) * 2), "◻️◻️◻️◻️◻️◻️🔲")
17. TOTAL DAYS IN DATE'S MONTH
date(dateSubtract(dateAdd(dateSubtract(prop("Date"), date(prop("Date")) - 1, "days"), 1, "months"), 1, "days"))
18. FIND EXACT HOURS BETWEEN DATE-RANGE
round(10 * dateBetween(end(prop("Date-Range")), start(prop("Date-Range")), "minutes") / 60) / 10
19. FIND HOURS AND MINUTES BETWEEN DATE-RANGE
format(dateBetween(end(prop("Date-Range")), start(prop("Date-Range")), "hours")) + " hr " + format(dateBetween(end(prop("Date-Range")), start(prop("Date-Range")), "minutes") % 60) + " min"
20. FIND WHAT QUARTER DATE LANDS IN
formatDate(prop("Date"), "Q")
For a complete list checkout RedGregory's Notion blog: redgregory.com/notion/30-date…

Checkout @RedGregory1

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with 🚀 Luc Meijer

🚀 Luc Meijer Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @NoCodeLuc

28 Sep
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.
Read 13 tweets
23 Sep
Stop using Figma for everything.

Here are 20 other no-code design tools that deserve much more attention 👇
1/ @goabstract

Show the why behind your design

abstract.com
2/ @Modulz

Design in the target medium. Prototype with real components. Handoff production code.

modulz.app
Read 21 tweets
22 Sep
The voice assistent market is expected to grow 39% per year.

These 7 no-code voice tools are a great way to get in on this trend 👇
1/ @otter_ai

Generate rich notes for meetings, interviews, lectures, and other important voice conversations with Otter, your AI-powered assistant.

otter.ai
2/ @TrueReply

The best way to engage consumers via voice assistants.

truereply.com
Read 8 tweets
9 Sep
Did you know you can build interactive experiences with no-code?

• Meetings
• Quizzes
• 3D websites
• Multi-touch
• Chatbots

The 19 best no-code interactivity tools 👇
1/ @Mentimeter

Create interactive presentations & meetings, wherever you are.

mentimeter.com
2/ @slidoapp

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.

sli.do
Read 15 tweets
7 Sep
Always wanted to start your own podcast?

For your first episode, you don't need expensive equipment. All you need is something to:

• Record
• Edit
• Mix
• Distribute/market

Here are 20 no-code podcasting tools to help you do that 👇️
1/ @anchor

The easiest way to make a podcast.

anchor.fm
2/ @libsyn

Powerful podcast hosting.

libsyn.com
Read 21 tweets
1 Sep
I love blockchain and I love no-code

What do I love even more?

Blockchain 𝙘𝙤𝙢𝙗𝙞𝙣𝙚𝙙 with no-code.

4 examples 👇
1/ @AlexMasmej

Empowering Teams and Communities to collaborate better

abridged.io
2/ @furucombo

Furucombo is a tool built for end-users to optimize their DeFi strategy simply by drag and drop.

furucombo.app
Read 5 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(