> For the complete documentation index, see [llms.txt](https://docs.work-relay.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.work-relay.com/administration/work-relay-data/business-hours.md).

# Business hours

Work-Relay dates calculations can be performed based on the Salesforce Organization Business Hours setup. Business Hours record id has to be provided in [Work-Relay Settings](/administration/settings/work-relay-settings.md).

Please follow the instructions below to set up new business hours record and link it to the Work-Relay.

{% hint style="info" %}
**NOTE**: If business hours was not added to the Work-Relay Settings all dates within Work-Relay environment will be calculated using 24/7 schedule.
{% endhint %}

{% stepper %}
{% step %}

## Open business hours setup

Open Setup (administration page) > Company Settings > Business Hours:

![](/files/4d1e7752da1fddcf3ba771528b75706b73886eda)
{% endstep %}

{% step %}

## Create or select a business hours record

Create new business hours record or choose one out of existing records.

Please refer to the following article for the instructions on how to create Business Hours property: [Set Business Hours.](https://help.salesforce.com/s/articleView?language=en_US\&type=0\&id=customize_supporthours.htm)
{% endstep %}

{% step %}

## Link business hours to Work-Relay

Navigate to Settings tab and switch to General Settings subtab:

![](/files/f5001e1f2dea759923e17cccc53ed4a42ee72806)

Choose your Business Hours item via Business hours lookup (1) and click Save (2). Now this business hours property will be applied to all Work-Relay processes in the current organization.
{% endstep %}
{% endstepper %}

Holidays and weekends won’t be accessible on [Gantt view](/functional/gantt-chart/introduction-to-gantt-charts.md) (you can't set dates and times to the non-working period), due dates will be calculated considering weekends and working hours.
