Date and Time
In the Peakboard Designer, you have the option of including the date and time as a data source. This data source is not tabular, but only a scalar single value.
The format specification defines how the time or the date or a combination thereof is to be displayed. The individual format components can be seen in the table below. In case you want to use a time zone other than CET for time calculation, the corresponding combo box is available.
Besides displaying date and time, the time data source also offers the possibility to display data based on a current timestamp.
Time server Peakboard Box (Time server for the Peakboard Box)
When adding a Peakboard Box to the Peakboard Designer for the first time, you will be asked to enter a time server. Among other things, this time server is responsible for the validation process of the certificates on the Peakboard Box.
You can change the time server in the Peakboard Box settings. In the [Peakboard Box Check] tab (1) of your Peakboard Box, you will find the entry [Time server] in the System section. Click on the gear icon (2) to open the dialog for selecting the time server and time zone.
The time data source can be created like any other data source via [Add data source] and then [Time] (3).
You can perform time jumps (addition or subtraction) directly in the time data source (4). This is helpful, for example, if the data of the last 8 hours should always be displayed.
The following animation shows how to use the time by dragging and dropping it on the screen.
Alternatively, the data source can be bound to controls or used via script, just like any other data source. In the control editor the display format can be adapted for a German or English layout via Format or an own format (5) can be created.
The preview now shows the current date and time.
Placeholder for the format string:
HH: hour (00 - 24)
hh: hour (00 - 12)
MM: Month (number) e.g. 11
MMMM: month (text) e.g. November
yy: two-digit year e.g. 89
yyyy: four-digit year e.g. 1989
tt: AM/PM identifier