We recently had a client who wanted to display the current time of day on the screen from within his application. While there are a vast number of free standing utilities to do this, we thought we'd present a simple suggestion as to how to accomplish this.
Before we start, we would like to review one thing you want to keep in mind. While Nomads provides Timer functionality that you could easily use to update your screen every second, this is something you probably DON'T
want to do especially if you are running remotely. Each update of the time would need to send a packet from the server to the workstation, and while if you only have one or two workstations a couple of packets each second would not likely be a problem, consider if you have 100 workstations. Having the system send out 100 updates every second and receive the packet acknowledgement would put a significant load on the system and network -- just for the sake of displaying the time.
So what we would suggest is that you use a clock that gets updated locally.Here is a simple suggestion:
Use a web based clock inside a *browser control on your screen. There are numerous styles of web based clocks available for free at places such as https://www.timeanddate.com/clocks/free.html
. You simply need to create the *browser control on your panel and create a dummy web page to load the desired clock.
for a simple textual time display or for a more graphical display try the logic found at https://www.w3schools.com/graphics/canvas_clock_start.asp