Skip to main content

osUptime

function Deno.osUptime
allow-sys
Jump to headingosUptime(): number

Returns the Operating System uptime in number of seconds.

console.log(Deno.osUptime());

Requires allow-sys permission.

Return Type Jump to heading

number
Back to top