[#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 `<bdlt_datetimetz.h>` Create a `DatetimeTz` object having the (default) attribute values: ` localDatetime() == bdlt::Datetime() offset() == 0 ` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/DatetimeTz/2constructor-03.adoc[DatetimeTz](); ---- [.small]#xref:BloombergLP/bdlt/DatetimeTz/2constructor-03.adoc[_» more..._]# Create a `DatetimeTz` object having the same value as the specified `original` object. [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..._]# Create a `DatetimeTz` from a local datetime and UTC offset. [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..._]# == 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]#