OPTIONS

$dayOfYear (aggregation)

$dayOfYear

Takes a date and returns the day of the year as a number between 1 and 366.