Date – getMinutes()
date.getMinutes()
getMinutes()
returns the minutes of this date
object
Examples
1. get the minutes from current date
let date = new Date();
console.log(date);
console.log(date.getMinutes());
date.getMinutes()
getMinutes()
returns the minutes of this date
object
1. get the minutes from current date
let date = new Date();
console.log(date);
console.log(date.getMinutes());
Copyright @2022