Operator less than ( < )

numeric op1 < numeric op2

If Op1 is less than Op2, the return value will be true. If Op1 is > and == Op2, the return value will be false.

Examples

string op1 < string op2

If Op1 is less than Op2, the return value will be true. If Op1 is > and == Op2, the return value will be false.

Examples

date op1 < date op2

If Op1 is less than Op2, the return value will be true. If Op1 is > and == Op2, the return value will be false.

Example

The return value of the following statement is false.

ToDate(1999, 10, 10) < ToDate(1999, 2, 5)

time op1 < time op2

If Op1 is less than Op2, the return value will be true. If Op1 is > and == Op2, the return value will be false.

Example

The return value of the following statement is false.

ToTime(10, 10, 10) < ToTime(8, 10, 10)

datetime < datetime op2

If Op1 is less than Op2, the return value will be true. If Op1 is > and == Op2, the return value will be false.

Example

The return value of the following statement is false.

ToDateTime(1999, 10, 10, 10, 10, 10) < ToDateTime(1999, 5, 10, 8, 5, 5)