[#BloombergLP-bdlt-operator_minus-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::operator‐ :relfileprefix: ../../ :mrdocs: Return a `Datetime` object having a value that is the difference between the specified `lhs` (`Datetime`) and the specified `rhs` (`DatetimeInterval`). If `24 == lhs.hour()`, the result is the same as if the `hour` attribute of `lhs` is 0. The behavior is undefined unless the resulting value is in the valid range for a `Datetime` object. == Synopsis Declared in `<bdlt_datetime.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] operator‐( xref:BloombergLP/bdlt/Datetime.adoc[Datetime] const& lhs, xref:BloombergLP/bdlt/DatetimeInterval.adoc[DatetimeInterval] const& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#