Answers for "date get time hours minutes seconds js"

1

js get current time minutes

const date = new Date()

const minutes = date.getMinutes()
Posted by: Guest on September-20-2020
0

js date get hours

const birthday = new Date('March 13, 08 04:20');

console.log(birthday.getHours());
// expected output: 4
Posted by: Guest on November-27-2020

Code answers related to "date get time hours minutes seconds js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language