Syntax
Date.DayOfYear(dateTime as any) as nullable number
Description
Returns a number representing the day of the year in the provided date, datetime, or datetimezone value, dateTime.
Reference Data
https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference