var today = new Date();
var time = today.getHours() + ":" + today.getMinutes() ;
var dateTime = date+' '+time;
let myDate = new Date('2019-11-24 10:33:18');
let hour = myDate.getHours(); // hour = 10
const date = new Date();
const hhmmss = date.toLocaleTimeString();
console.log( hhmmss ); // 12:34:21
const birthday = new Date('March 13, 08 04:20');
console.log(birthday.getHours());
// expected output: 4
const now = new Date();
now.setHours( now.getHours() + 1 ); // 1 hour from now;
console.log( now );