Return true if lhs is greater than rhs.
Synopsis
Description
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().
Return Value
true if lhs is greater than rhs
Parameters
Name |
Description |
lhs |
left‐hand datetime operand |
rhs |
right‐hand datetime operand |
Created with MrDocs