[#BloombergLP-bdlt-Time-addHours] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Time.adoc[Time]::addHours :relfileprefix: ../../../ :mrdocs: Increase this time by `hours`; return midnight‐boundary crossings. == Synopsis Declared in `<bdlt_time.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int addHours(int hours); ---- == Description Increase the value of this time object by the specified number of `hours`, and return the (signed) number of times that the 23:59:59.999999 ‐ 00:00:00.000000 boundary was crossed in performing the operation. Note that `hours` may be negative. == Return Value the (signed) number of midnight‐boundary crossings == Parameters [cols="1,4"] |=== | Name| Description | *hours* | signed number of hours to add |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#