KB-28077: CurrentTime attribute displayed with no format.

Question:

Why is the CurrentTime attribute of a SCADA application being used in a script is displayed with no format at all (that is, it won’t stop being incremented)?

Solution:

This happens because the value is in milliseconds, so it keeps being incremented indefinitely. To format this data, use Format function.

Sample script:
Format(“dd/mm/yyyy hh:mm:ss”, currentTime)

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

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

Leave a Reply

Your email address will not be published.Required fields are marked *