[#BloombergLP-balm-MetricSample-setTimeStamp]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/MetricSample.adoc[MetricSample]::setTimeStamp
:relfileprefix: ../../../
:mrdocs:

Set the timestamp (used to indicate when the sample was taken) to the specified `timeStamp`&period;

== Synopsis

Declared in `&lt;balm&lowbar;metricsample&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setTimeStamp(xref:BloombergLP/bdlt/DatetimeTz.adoc[bdlt::DatetimeTz] const& timeStamp);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *timeStamp*
| time at which the sample was taken
|===


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