# Set the minutes for a specified date according to universal time.

HTMLJavascriptProgramming Scripts

#### Kickstart HTML, CSS and PHP: Build a Responsive Website

Featured

59 Lectures 8.5 hours

#### Web Design for Beginners: Build Websites in HTML & CSS 2022

68 Lectures 8 hours

#### Complete HTML/CSS Course 2022

Featured

47 Lectures 12.5 hours

JavaScript date setUTCMinutes() method sets the minutes for a specified date according to universal time.

The following are the parameters for setUTCMinutes(minutesValue[, secondsValue[, msValue]]) method −

• minutesValue − An integer between 0 and 59, representing the minutes.
• secondsValue − An integer between 0 and 59, representing the seconds. If you specify the secondsValue parameter, you must also specify the minutesValue.
• msValue − A number between 0 and 999, representing the milliseconds. If you specify the msValue parameter, you must also specify the minutesValue and secondsValue.

## Example

You can try to run the following code to set the minutes for a specified date according to universal time −

<html>
<title>JavaScript setUTCMinutes Method</title>
</html>