SecSinceChange
- Last UpdatedJan 11, 2023
- 1 minute read
- PI System
- PI Server 2024 R2
- PI Server
Return the time in seconds since an attribute value or the timestamp was updated.
Syntax
SecSinceChange(attname)
Arguments
-
attname
The name of an attribute, enclosed in single quotation marks
Returns
The number of seconds since the last update of the value or a timestamp for an attribute
Example
-
SecSinceChange('att1')
[Return the number of seconds since the value of 'att1' or the timestamp was updated]