[#BloombergLP-bdlt-operator_gt-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::operator> :relfileprefix: ../../ :mrdocs: 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()`. == Synopsis Declared in `<bdlt_datetime.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator>( xref:BloombergLP/bdlt/Datetime.adoc[Datetime] const& lhs, xref:BloombergLP/bdlt/Datetime.adoc[Datetime] const& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#