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)

Month

  • Last UpdatedOct 04, 2024
  • 1 minute read

Extract the month from a given time expression.

Syntax

Month(t1)

Arguments

  • t1

    A time expression, enclosed in single quotes

Returns

The month of time, in the range 1-12

Exceptions

None

Example

  • Month('*')

    [Return the current month]

  • Month(FindEq('att1', '-10d', '*', 5')

    [Return the month from a timestamp when the value of 'att1' was first equal to 5 in the past 10 days]

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