🕒

How to Automatically Calculate the Number of Days Elapsed in Notion

This article was automatically translated from theJapanese original by AI. It may contain translation errors.

A Notion database showing days elapsed calculated automatically

As shown in the image, you can create a date field in a Notion DB and automatically calculate things like “how many days from now until that date” or “how many days have passed since that date”.

Setup

Required fields

  • A “Date” type field: the field where you set the reference date
  • A “Formula” type field: the field that displays the number of days elapsed since the reference date

Once you’ve created those two fields, edit the “Formula” property.

Opening the property menu
Go to “Edit property” → “Edit function”.

Editing the function
Use the dateBetween function to calculate the number of days elapsed.
dateBetween(now(), prop("日付"), "days") gives you a number, so tweak it to your liking, for example dateBetween(now(), prop("日付"), "days") + "日", and you’re done.

Wrapping up

Another example use case
You can use it like this too 🥳

Recent Articles

Network(beta)

Drag to move / Ctrl+wheel to zoom