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)