dayOfYear
dayOfYear(): Integer;
The dayOfYear method of the Date primitive type returns an integer value for the day of the year (for the date value of the receiver); for example, 274.
The following example shows the use of the dayOfYear method.
vars date : Date; begin date := "01 January 2000".Date; write date.dayOfYear.String; // Outputs 1 date := "10 March 2000".Date; write date.dayOfYear.String; // Outputs 70 end;