Product Site

5.4.6.48. yearDay

Returns the number of days, including the timestamp day, that have passed in the year the timestamp represents in the format ddd (no leading zeros or blanks).

See also method ordinalDate.

Example 5.239. DateTime class — yearDay method
say .DateTime~new(2020, 2, 10)~yearDay    -- 41