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