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

0vote

Need help with a time formula

Hope there is someone in the community who is familiar with time related Notion formulas.
I am trying to create a formula "if time is between 8am and 5pm return is NYC".
Notion AI gave me:
if(and(time(prop("Your Time Column")) >= time("08:00"), time(prop("Your Time Column")) <= time("17:00")), "NYC", "")
Looks simple enough. So I set up a "Created Time" column with formula - formatDate(now(), "HH:mm")
Then replaced "Your Time Column" with "Created Time"
if(and(time(prop("Created time")) >= time("08:00"), time(prop("Created time")) <= time("17:00")), "NYC", "")
No matter how I try to configure any formula, I always end up with:
"time is not defined. [7,11] time is not defined. [18,22] time is not defined. [33,37]"

Is there anyone that can help me understand how to achieve my formula? It seems simple enough, just cant figure it out.

Thanks!

1 Answer

0vote

Lach Points160

Resolved...thank you for your input, ChatGPT :)

1vote

polle commented

Please share the solution as an answer and select it to mark the question as solved. For sure it will help others.

Please log in or register to answer this question.

...

Welcome to Notion Answers, where you can ask questions and receive answers from other members of the community.

Please share to grow the Notion Community!

Connect