[#BloombergLP-bsls-TimeInterval-totalNanoseconds] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/TimeInterval.adoc[TimeInterval]::totalNanoseconds :relfileprefix: ../../../ :mrdocs: Return the value of this time interval as an integral number of nanoseconds. The behavior is undefined unless the number of nanoseconds can be represented using a 64‐bit signed integer. Note that the return value may be negative. == Synopsis Declared in `<bsls_timeinterval.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] totalNanoseconds() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#