Someone help me with a code to countdown Years, Months, Weeks, Days, Hours and Minutes in a single formula property and a single date property (using the ranges as well)
Connect
Notion Answers
Help between Notion users
Register & Ask
It's free & easy
Get answers
Answers, votes & comments
Vote and select answers
Receive points, vote and give the solution
Question
1 Answer
You can use a Notion formula like this:
format(dateBetween(prop("Date"), now(), "years")) + "y " + format(dateBetween(prop("Date"), now(), "months")) + "m " + format(dateBetween(prop("Date"), now(), "days")) + "d " + format(dateBetween(prop("Date"), now(), "hours") % 24) + "h " + format(dateBetween(prop("Date"), now(), "minutes") % 60) + "m"
Use Date for your Notion property name and it will work as you need.
Without Answer
-
- 40
- 0
- 5 days ago
-
- 76
- 0
- Mar 14
-
- 209
- 0
- Mar 8
-
- 195
- 0
- Feb 21
-
- 167
- 0
- Feb 14
-
- 225
- 0
- Feb 13
-
- 208
- 0
- Feb 11
-
- 224
- 0
- Feb 8
- see all
Recent Activities
Christian20032025 asked 4 days ago
Formula for an automation that sets due-date to ne…amandabee selected an answer Feb 24
Can I use a button to create a calendar event for …Barbora commented Feb 24
The Filters in the databases don't disappear.
...