---
title: "year · RUAL Documentation"
description: "RUAL date block."
canonical: https://docs.rual.nl/block-types/date/date_set_year
language: en
---

# year

This block is part of the [`date`](https://docs.rual.nl/block-types/date) group and was last modified in core [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

- date required `date` The date for which to set the year.

- year required `number` The numeric representation of the year (e.g., 2019) to set for the date.

- date `date` The updated date with the specified year.

A typical wiring for [year](https://docs.rual.nl/block-types/date/date_set_year): the `date` out pin feeds [cast to value](https://docs.rual.nl/block-types/type%20casting/date_convert_to_value).

![Studio canvas example for the year block: typical wiring for year.](https://docs.rual.nl/canvas-examples/date_set_year.png)

### Version history

Introduced in [`v10.4.28`](https://docs.rual.nl/core-versions/100428).
