> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omni.co/llms.txt
> Use this file to discover all available pages before exploring further.

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.omni.co/feedback

```json
{
  "path": "/modeling/filters/operators/day-of-year",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# day_of_year

> Filters time fields by the day of the year.

Filters time fields by the day of the year. Returns rows where the date falls on the specified day of the year.

## Syntax

```yaml theme={null}
<time_field>:
  day_of_year: <day_number>
```

## Properties

<ParamField path="time_field" type="string" required>
  The time/date field to filter on, specified in the format `view_name.field_name`.
</ParamField>

<ParamField path="day_of_year" type="number" required>
  The day of the year to filter for. Must be a number between `1` and `365`, or `366` for leap years.
</ParamField>

## Examples

```yaml title="Date is January 1" theme={null}
users.created_at:
  day_of_year: 1
```
