1.今天的开始时间和结束时间
let
daySart=
new
Date(
new
Date(
new
Date().toLocaleDateString()).getTime())
let
dayEnd=
new
Date(
new
Date(
new
Date().toLocaleDateString()).getTime() + 24 * 60 * 60 * 1000 - 1)
console.log(daySart);
console.log(dayEnd);