NTP-clock

Download: ntpclock.zip

Analog clock with NTP-support. It will use ip-api.com geolocation to find your timezone, then get the current time from ntp.org. Finally it will set the clock to the correct time for your timezone. DST is also handled.

There is no way to specify manually which timezone to use. However, if you're not comfortable with geolocation then you can disable this in settings. This also means that it won't fetch the current time from ntp.org. You can instead use the included .ttp to fetch the current time, as it has an option to disable geolocation.

Requirements

Usage

Run
ntpclock.prg
. A clock will be displayed in a window in the center of your screen. Click somewhere on the clock to display a popup-menu with the following options:

Settings dialog

Settings are saved automatically when the program exits.

Window location and size

The clock window does not have any widgets, so moving and resizing is not done as for "normal" windows. Position and size is automatically saved when ntp-clock exits.

Bugs/limitations

ntpclock.ttp

This is a small commandline NTP-client for TOS/MiNT/MagiC with a working STiK/STiNG/GlueSTiK internet connection. Run it from the commandline, mint.cnf or autofolder to automatically set your clock to the correct time. Needless so say you must run it after the network has been set up.

Usage

ntpclient.ttp -tz <offset> -q
All parameters are optional. If -tz isn't specified ntpclock will use geolocation to determine your current timezone, DST included.
Feb. 2025, joska@online.no