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)

Yearday

  • Last UpdatedJan 11, 2023
  • 1 minute read

Extract the day of the year from a time expression. The day of the year (also known as a Julian day) is an integer ranging from 1 to 366, where 1 represents January 1.

Syntax

Yearday(t1)

Arguments

  • t1

    A time expression, enclosed in single quotes

Returns

The day of the year of time, in the range 1-366, where 1 represents January 1

Exceptions

None

Example

  • Yearday('*')

    [Return what day of the year today is, where 1 represents January 1]

  • Yearday('y')

    [Return what day of the year yesterday was, where 1 represents January 1]

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