[#BloombergLP-bdlt-DatetimeTz-utcDatetime]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/DatetimeTz.adoc[DatetimeTz]::utcDatetime
:relfileprefix: ../../../
:mrdocs:

Return the UTC datetime represented by this object&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlt/Datetime.adoc[Datetime]
utcDatetime() const;
----

== Description

Return a `Datetime` object having the value of the UTC datetime represented by this object&period; Note that if `0 !&equals; offset()`, the returned value is equal to `localDatetime()` minus `offset()` minutes, and `localDatetime()` otherwise&period;

== Return Value

the UTC datetime represented by this object


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