This version is out of date, covering development from v6.0.0 to v6.6.5. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

TinderboxSix Icon

Greater Than

$DateAttribute > "date"

Gathers all notes whose $DateAttribute value is after the given date. The left-side date cannot be more than 'never'.

WARNING: unlike an equals comparison the time element of the date/time is used. If $DateA is 28 November 2012 21:00 and $DateB is 28 November 2012 12:00 then:

$DateA < $DateB is false


$DateA == $DateB is true

This is because the former takes time into account and the latter does not. Also:

$DateA <= $DateB is true

Here the implicit equality test (ignoring time) will trump the time-sensitive < test. In <=, it is effectively doing an OR join, i.e. the result is true if:

$DateA < $DateB is false

$NumberAttribute > number

Gathers all notes whose $NumberAttribute value is greater than the given number.

Other data types…

Boolean. A true is always greater than false.

Color. Tinderbox does not perform greater/less than comparisons on Color-type attributes.

Sets/Lists. Tinderbox does not perform greater/less than comparisons on Set-type and List-type attributes.

String. A lexical comparison is done of each string character by character, i.e. the ASCII value of each first character, then each second character, etc. Uppercase characters < lowercase < numbers. For other characters, accents, etc., comparisons are likely to not meet linguistic expectation as the values will be based on Unicode sort order. Thus:

"dog" > "cat"

"dog" > "Dog"

"dogs" > "dog"

"dogs" > "dogma"

"dogs" < "døg" <-- NOTE!

A Tinderbox Reference File : Objects & Concepts : Concepts : Actions : Basic Comparison Operators : Greater Than