[#BloombergLP-bsls-TimeInterval-totalHours]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/TimeInterval.adoc[TimeInterval]::totalHours
:relfileprefix: ../../../
:mrdocs:

Return the value of this time interval as an integral number of hours, rounded towards zero&period; Note that the return value may be negative&period;

== Synopsis

Declared in `&lt;bsls&lowbar;timeinterval&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64]
totalHours() const;
----

== Return Value

this interval as an integral number of hours, rounded towards zero


[.small]#Created with https://www.mrdocs.com[MrDocs]#
