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

PI System Management Tools

Yearday (Tag-based PE function)

  • Last UpdatedOct 04, 2024
  • 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('*')

Yearday('t')

Day (page ), DaySec (page ), Hour (page ), Minute (page ), Month (page ), Second (page ), Weekday (page ), Year (page )

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