[#BloombergLP-ball-RecordJsonFormatter-setTimezoneDefault]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/RecordJsonFormatter.adoc[RecordJsonFormatter]::setTimezoneDefault
:relfileprefix: ../../../
:mrdocs:

Set the default time zone for timestamps without a timezone in the format&period;

== Synopsis

Declared in `&lt;ball&lowbar;recordjsonformatter&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setTimezoneDefault(xref:BloombergLP/ball/RecordFormatterTimezone/Enum.adoc[RecordFormatterTimezone::Enum] timezoneDefault);
----

== Description

Set the time zone default for every &quot;timestamp&quot; output without a timezone specified in the format string to the specified `timezoneDefault`&period; Note that this method reapplies the current format specification to update all timestamp formatters&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *timezoneDefault*
| default time zone for timestamps without one
|===


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