Skip to main content

time

frontend


frontend / utils/time

utils/time

Functions

formatUptime()

formatUptime(hundredths): string

Defined in: utils/time.ts:6

Converts uptime in hundredths of a second to a human-readable format (days, hours, minutes, seconds).

Parameters

hundredths

number

Uptime in hundredths of a second.

Returns

string

A formatted string representing the uptime.