const a = new Date() console.log(a.toLocaleString().split("├")[0]);