Minute
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2018
- PI Server
Extract the minute from a time expression.
Syntax
Minute(t1)
Arguments
-
t1
A time expression, enclosed in single quotes
Returns
The minute of time, in the range 0-59
Exceptions
None
Example
-
Minute('*')
[Extract the minute from current time]
-
Minute(FindGT('att1', '-1h', '*', 5)
[Extract the minute from a timestamp when the value of 'att1' was first greater than 5 in the past hour. Return error if it was never over 5]