aqDateTime.GetDayOfYear method to get the number of days passed from the beginning of the year to the specified date.
The method is applied to the following object:
The method has the following parameter:
Specifies the date whose ordinal number you want to get.
The number of days passed since the 1-st of January.