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 2018)

Noon

  • Last UpdatedOct 04, 2024
  • 1 minute read

Return a timestamp for noon on the day of a given time expression.

Syntax

Noon(t1)

Arguments

  • t1

    A time expression enclosed in single quotes

Returns

A timestamp corresponding to noon of the day of the input time

Exceptions

None

Notes

This function is useful for establishing a unique clock time independent of the length of particular days.

Example

  • Noon('*')

    [Return the timestamp for noon of current day]

  • Noon(FindEq('att1', '-3d', '*', 50))

    [Return the timestamp for noon of the day when 'att1' was first equal to 50 in the past 3 days]

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