---
title: "week of year · RUAL Documentation"
description: "Get week of year of given date."
canonical: https://docs.rual.nl/block-types/date/date_week_of_year
language: en
---

# week of 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).

Get week of year of given date.

- date required `date` The date from which to extract the week of the year.

- wy `number` The week of the year extracted from the input date.

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

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

### Version history

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