For next Advent of Code, I'm loosely planning to use some old Windows, probably NT4 (I wanted to go with 2000 first, but that's a bit slow on my old box, and 95/98 are a bit unstable; NT4 might hit the sweet spot?). What was missing in my toolchest for that OS was a small program to print the system's uptime -- just like uptime on Unix. The only way I knew was to do net statistics server | more and then do the math in your head, but that's a bit cumbersome.

So, I made a little tool, which is nothing more than just a thin wrapper around GetTickCount(). While at it, I also made an OS/2 version, again just a thin wrapper, this time around DosQuerySysInfo(QSV_MS_COUNT, ...).