{"id":"iso-date-day-of-year","version":"1.0.0","description":"Return the ordinal day number (1-366) of a YYYY-MM-DD date within its calendar year.","supported_operations":["iso date day of year","ordinal day of year","day number in year"],"unsupported_operations":["ISO ordinal date strings","timezones","fiscal year"],"semantics":["date is a strict YYYY-MM-DD proleptic Gregorian UTC calendar date with year 0001-9999.","day_of_year is 1 for 1 January and 365 or 366 for 31 December, depending on whether the year is a leap year."],"limits":{"year_min":1,"year_max":9999},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["date"],"properties":{"date":{"type":"string","minLength":10,"maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"}}},"output_schema":{"type":"object","additionalProperties":false,"required":["day_of_year"],"properties":{"day_of_year":{"type":"integer","minimum":1,"maximum":366}}},"examples":[{"input":{"date":"2026-01-01"},"output":{"day_of_year":1}},{"input":{"date":"2024-12-31"},"output":{"day_of_year":366}}],"execute_url":"/v1/tools/iso-date-day-of-year/versions/1.0.0/execute"}