I've seen a few uptime geeklets on here, but none that fit what I wanted so I threw this one together and figured I'd share.

This geeklet shows the current uptime in real time and includes days, hours, minutes, and seconds in it's output.

Geeklet files to download


User Avatar
Joebardo 2268 days ago
Is there any way do write the code so that the uptime is displayed in only the highest filled unit? So if the uptime is 0 days, 5 hours, 6 minutes, it only displays 5 hours. Or if the uptime is 7 minutes and 30 seconds, it only displays 7 minutes. Could you please show me how to edit the code to do that? Thank you! I really like this geeklet.

Log in to comment or register here.