setMinutes

fun setMinutes(minutes: Int, seconds: Int = definedExternally, milliseconds: Int = definedExternally): Int(source)

Sets the minutes value in the Date object using local time.

Parameters

minutes

A numeric value equal to the minutes value.

seconds

A numeric value equal to the seconds value.

milliseconds

A numeric value equal to the milliseconds value.

MDN Reference