[#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` object having a local datetime value equal to the specified `localDatetime` and a time zone offset value from UTC equal to the specified `offset` (in minutes). The behavior is undefined unless all of the specified values are within their valid ranges (see `isValid`). Note that this method provides no validation, and it is the user's responsibility to ensure that `offset` represents a valid time zone and that `localDatetime` represents a valid datetime in that time zone. [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..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#