Yearday (Tag-based PE function)
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2018
- PI Server
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 )