[#BloombergLP-bdlt-Time-setMillisecond]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Time.adoc[Time]::setMillisecond
:relfileprefix: ../../../
:mrdocs:

Set the &quot;millisecond&quot; attribute of this time object to the specified `millisecond`&semi; if the `hour` attribute is 24, set the `hour` attribute to 0&period; The behavior is undefined unless `0 &lt;&equals; millisecond &lt; 1000`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setMillisecond(int millisecond);
----


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