Returns the day of a date in a year as a number. If no argument is given, then the current local date/time, as returned by date:date-time is used as the default argument.
day-in-year($date-time as string?) ➔ number
The input date/time