timestamp Get current Unix timestamp and ISO date
Examples
Show current Unix timestamp and ISO date
Usage
"" | timestamp Get the current time for debugging an API request
Usage
"" | timestamp Generate a timestamp for a manual log entry
Usage
"" | timestamp View source
()=>{
const now = new Date();
return `Unix: ${Math.floor(now.getTime() / 1000)}\nISO: ${now.toISOString()}\nLocal: ${now.toLocaleString()}`;
}