> For the complete documentation index, see [llms.txt](https://docs.nedyx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nedyx.com/version-1.52-preview/clearlines-functions/date-functions/year.md).

# YEAR

Returns the year of a date.

#### Syntax <a href="#syntax.15" id="syntax.15"></a>

**YEAR**(*date*)

* *date* - the date from which the year should be returned *- **Value type**: date*

#### Examples <a href="#examples.1" id="examples.1"></a>

<div align="left"><figure><img src="https://content.gitbook.com/content/4X6nN2wTlDsVpd8P1WDM/blobs/bPqmOlyMjQjYJzyvF48q/grafik.png" alt=""><figcaption><p>YEAR of a single value</p></figcaption></figure></div>

<div align="left"><figure><img src="https://content.gitbook.com/content/4X6nN2wTlDsVpd8P1WDM/blobs/TR345gbmBlTFK6pgKCur/grafik.png" alt=""><figcaption><p>YEAR of multiple values</p></figcaption></figure></div>
