Less than (<)

Learn how to use the Boolean less than (<) operator in Notion formulas.

The less than (<) operator returns true if its left operand is less than its right operand. It accepts numeric, string, date, and Boolean operands.

number < number
string < string
Boolean < Boolean
date < date
Code language: JavaScript (javascript)
2 < 1 /* Output: false */

42 < 50 /* Output: true */

"a" < "b" /* Output: true */

/* Boolean values equate to 1 (true) and 0 (false). */
false < true /* Output: true */

true < true /* Output: false */

/* For dates, "less than" equates to "before". */
now() < dateAdd(now(), 1, "months") /* Output: true */
Code language: JavaScript (javascript)

Good to know: When comparing dates, “greater” = “later”.

Good to know: The less than (<) operator cannot be chained in a Notion formula. A formula like 1 < 2 < 3 won’t work. Use the and operator to get around this – e.g. 1 < 2 and 2 < 3.

About the Author

My name is Thomas Frank, and I'm a Notion-certified writer, YouTuber, and template creator. I've been using Notion since 2018 to organize my personal life and to run my business and YouTube channel. In addition to this formula reference, I've created a free Notion course for beginners and several productivity-focused Notion templates. If you'd like to connect, follow me on Twitter.

🤔 Have an UB Question?

Fill out the form below and I’ll answer as soon as I can! ~Thomas

🤔 Have a Question?

Fill out the form below and I’ll answer as soon as I can! ~Thomas