[#BloombergLP-bdlt-DatetimeTz-2constructor-086]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/DatetimeTz.adoc[DatetimeTz]::DatetimeTz
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

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

Create a `DatetimeTz` object having the (default) attribute values&colon; &grave; localDatetime() &equals;&equals; bdlt&colon;&colon;Datetime() offset() &equals;&equals; 0 &grave;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlt/DatetimeTz/2constructor-03.adoc[DatetimeTz]();
----

[.small]#xref:BloombergLP/bdlt/DatetimeTz/2constructor-03.adoc[_» more&period;&period;&period;_]#

Create a `DatetimeTz` object having the same value as the specified `original` object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlt/DatetimeTz/2constructor-083.adoc[DatetimeTz](xref:BloombergLP/bdlt/DatetimeTz.adoc[DatetimeTz] const& original);
----

[.small]#xref:BloombergLP/bdlt/DatetimeTz/2constructor-083.adoc[_» more&period;&period;&period;_]#

Create a `DatetimeTz` from a local datetime and UTC offset&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlt/DatetimeTz/2constructor-0f.adoc[DatetimeTz](
    xref:BloombergLP/bdlt/Datetime.adoc[Datetime] const& localDatetime,
    int offset);
----

[.small]#xref:BloombergLP/bdlt/DatetimeTz/2constructor-0f.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| object providing the value for this object
| *localDatetime*
| local datetime value
| *offset*
| time zone offset from UTC in minutes
|===


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