# Date

- [JSON representation](https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/Date#SCHEMA_REPRESENTATION)

Represents a whole calendar date, for example a date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar). The date must be a valid calendar date between the year 1 and 9999.

| JSON representation |
|---|
| ``` { "year": integer, "month": integer, "day": integer } ``` |

| Fields ||
|---|---|
| `year` | `integer` Year of date. Must be from 1 to 9999. |
| `month` | `integer` Month of date. Must be from 1 to 12. |
| `day` | `integer` Day of month. Must be from 1 to 31 and valid for the year and month. |