How does js get the timestamp of 16:00:00 this Friday afternoon?

how does js get the timestamp of 16:00:00 this Friday afternoon?

Mar.31,2021

//
let d = new Date();
//16:00:00
d.setHours(16, 0, 0, 0);
//
let week = 5 - (d.getDay() ? d.getDay() : 7);
//16:00:00 
let result = d.getTime() + week * 86400000 ;

console.log(result)

js has a time function, Baidu Yiha.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c2fb-346be.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c2fb-346be.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?