// Chrome expiration_time as unix timestamp
let timestamp = 1765064691;
// Convert to milliseconds
let readableDate = new Date(timestamp * 1000);
// Format date and time
console.log("UTC:", readableDate.toUTCString()); // UTC time
console.log("Lokal:", readableDate.toLocaleString()); // locale time
下次,请尝试自己做一些研究。这个问题太简单了,让我以为你甚至没有尝试过;)