[#BloombergLP-bdlt-IntervalConversionUtil-convertToTimeInterval]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/IntervalConversionUtil.adoc[IntervalConversionUtil]::convertToTimeInterval
:relfileprefix: ../../../
:mrdocs:

Return as a `bsls&colon;&colon;TimeInterval` the value of the specified `interval`&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;intervalconversionutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval]
convertToTimeInterval(xref:BloombergLP/bdlt/DatetimeInterval.adoc[DatetimeInterval] const& interval);
----


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