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

Set the minute attribute of this time object&period;

== Synopsis

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

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

== Description

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *minute*
| minute attribute to set
|===


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