Issue #17586: Add day of the year