Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Analytics and Notifications for PI System Explorer (PI Server 2024 R2)

Second

  • Last UpdatedOct 04, 2024
  • 1 minute read

Extract the second from a time expression.

Syntax

Second(t1)

Arguments

  • t1

    A time expression enclosed in single quotes.

Returns

The second of time, in the range 0-59

Exceptions

None

Example

  • Second('*')

    [Return the second from current time]

  • Second(FindEq('att1', '-1m', '*', 2)

    [Return the second from a timestamp when the value of 'att1' was first equal to 2 in the past minute]

In This Topic
TitleResults for “How to create a CRG?”Also Available in