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

Asset Framework and PI System Explorer (PI Server 2018)

Understand relative time

  • Last UpdatedDec 18, 2024
  • 1 minute read

Relative time expressions are some number of a number of days (d), hours (h), minutes (m), or seconds (s), specified with either a leading plus sign (+) or a leading minus sign (-). The Relative time field in the PI Point Data Reference window shifts the time context by the specified offset. For example, if a client requests an attribute value at the current time where the relative time expression is -8h, PI AF returns data from eight hours before the current time.

Fractional times are supported. For example, use -1.5d to indicate one and one-half days.

Relative time expressions can contain only one operator, either + or -. For example, the following is not supported:

-1d+1h

The following are all valid relative times:

+1d
-24h
-3.25m
+24s

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