1const d = new Date( timestamp );
2date = d.getHours() + ":" + d.getMinutes() + ", " + d.toDateString();
3console.log( date );
4// e.g. 17:44, Tue Jun 16 2020
1var d = new Date,
2 dformat = [d.getMonth()+1,
3 d.getDate(),
4 d.getFullYear()].join('/')+' '+
5 [d.getHours(),
6 d.getMinutes(),
7 d.getSeconds()].join(':');