[#BloombergLP-bdlt-Time-setMillisecond] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Time.adoc[Time]::setMillisecond :relfileprefix: ../../../ :mrdocs: Set the "millisecond" attribute of this time object to the specified `millisecond`; if the `hour` attribute is 24, set the `hour` attribute to 0. The behavior is undefined unless `0 <= millisecond < 1000`. == Synopsis Declared in `<bdlt_time.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setMillisecond(int millisecond); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#