KB-26513: Showing hours in a Display.

Question:

In an application, a tag contains the value in seconds of the device’s working time. How can I show this value in hours in a Display?

Solution:

To do so, you can divide the tag’s value by 86400 (24*60*60) on the Display’s source to show the value in hours.

Then, you must configure the Display’s format to show it in hours. For example: [h]:mm

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Deixe seu Comentário

Seu endereço de e-mail não será publicado. Campos marcados com asterisco são obrigatórios *