Return true if lhs is less than rhs.
Return true if the value of the specified lhs object is less than the value of the specified rhs object, and false otherwise. A Datetime object a is less than a Datetime object b if a.date() < b.date(), or if a.date() == b.date() and the time portion of a is less than the time portion of b. The behavior is undefined unless 24 != lhs.hour() && 24 != rhs.hour().
true if lhs is less than rhs
| Name | Description |
|---|---|
| lhs | left-hand datetime operand |
| rhs | right-hand datetime operand |