Deno.osUptime - Deno documentation
function Deno.osUptime
allow-sys
osUptime(): number

Returns the Operating System uptime in number of seconds.

console.log(Deno.osUptime());

Requires allow-sys permission.

Return Type

number