Returns the minutes (0-59) in the specified date.
Syntax
date.getMinutes()Example
Enter values below to update the example in real time.
const→new→console→getMinutes→const date = new Date();
console.log(date.getMinutes()); // current minute (0-59)