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