Date.getMinutes

getMinutes – Get the minutes, according to local time (0–59).

Description

Date.getMinutes()

Return values

Integer

Examples

Example #1 – getMinutes example
var date = new Date(2015, 9, 21, 16, 29, 00); console.log(date.getMinutes()); // 29 console.log(new Date().getMinutes()); // Logs the current minute.

External references