---
title: "week of year (locale) · RUAL Documentation"
description: "Set week of year of given date (locale)."
canonical: https://docs.rual.nl/block-types/date/date_set_week_year_locale
language: en
---

# week of year (locale)

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

Set week of year of given date (locale).

- date required `date` The date for which to set the week of the year (locale).

- week required `number` The numeric representation of the week of the year (locale) to set for the date.

- date `date` The date with the week of the year (locale) set according to the specified value.

A typical wiring for [week of year (locale)](https://docs.rual.nl/block-types/date/date_set_week_year_locale): 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 week of year (locale) block: typical wiring for week of year (locale).](https://docs.rual.nl/canvas-examples/date_set_week_year_locale.png)

### Version history

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