> ## 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.

# day_of_year - Filter operators

> 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

**time\_field** `string` *required*

The time/date field to filter on, specified in the format `view_name.field_name`.

**day\_of\_year** `number` *required*

The day of the year to filter for. Must be a number between `1` and `365`, or `366` for leap years.

## Examples

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.