---
title: "set to: end of hour · RUAL Documentation"
description: "Returns the end of the hour for the given date."
canonical: https://docs.rual.nl/block-types/date/date_endofhour
language: en
---

# set to: end of hour

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

Returns the end of the hour for the given date.

- date required `date` The date for which to return the end of the hour.

- date `date` The date set to the end of the hour.

A typical wiring for [set to: end of hour](https://docs.rual.nl/block-types/date/date_endofhour): 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 set to: end of hour block: typical wiring for set to: end of hour.](https://docs.rual.nl/canvas-examples/date_endofhour.png)

### Version history

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