---
schema_version: "1"
id: a909ed3afacc1728412512656fccf55d4605670f676eb8b25e1310a218de7171
title: BusinessHours
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_businesshours.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_businesshours.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4c31cb2b00e03add4bc9f2395846ab8d0a43c8e7848d4683b42b1bbd6590e169
description: Specifies the business hours of your support organization. Escalation rules are run only during these hours.
---
# BusinessHours

Specifies the business hours of your support organization. Escalation rules are run only during these hours.

Limit a list view to a maximum of 10,000 business hours.

If business hours are associated with any Holiday records, then business hours and escalation rules associated with business hours are suspended during the dates and times specified as holidays.

## Supported Calls

create(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), update(), upsert()

## Special Access Rules

All users, even those without the “View Setup and Configuration” user permission, can view business hours via the API.

## Fields

| Field | Details |
| --- | --- |
| BusinessHoursId | 
Type

reference

Properties

Filter, Group, Nillable,Sort

Description

ID of the BusinessHours associated with the SlaProcess.



 |
| IsActive | 

Type

boolean

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

Indicates whether the business hours is active (true) or not active (false).



 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The name of the business hours.



 |
| IsDefault | 

Type

boolean

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

Indicates whether the business hours are set as the default business hours (true) or not (false).



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date when the business hours were last viewed.



 |
| FridayEndTime | 

Type

time

Properties

Create, Filter, Nillable, Sort, Update

Description

Time that business closes.



 |
| FridayStartTime | 

Type

time

Properties

Create, Filter, Nillable, Sort, Update

Description

Time that business opens.



 |
| MondayEndTime | 

Type

time

Properties

Create, Filter, Nillable, Sort, Update

Description

Time that business closes.



 |
| MondayStartTime | 

Type

time

Properties

Create, Filter, Nillable, Sort, Update

Description

Time that business opens.



 |
| SaturdayEndTime | 

Type

time

Properties

Create, Filter, Nillable, Sort, Update

Description

Time that business closes.



 |
| SaturdayStartTime | 

Type

time

Properties

Create, Filter, Nillable, Sort, Update

Description

Time that business opens.



 |
| SundayEndTime | 

Type

time

Properties

Create, Filter, Nillable, Sort, Update

Description

Time that business closes.



 |
| SundayStartTime | 

Type

time

Properties

Create, Filter, Nillable, Sort, Update

Description

Time that business opens.



 |
| ThursdayEndTime | 

Type

time

Properties

Create, Filter, Nillable, Sort, Update

Description

Time that business closes.



 |
| ThursdayStartTime | 

Type

time

Properties

Create, Filter, Nillable, Sort, Update

Description

Time that business opens.



 |
| TimeZoneSidKey | 

Type

picklist

Properties

Create, Filter, Group, Restricted picklist, Sort, Update

Description

The time zone of the business hours.



 |
| TuesdayEndTime | 

Type

time

Properties

Create, Filter, Nillable, Sort, Update

Description

Time that business closes.



 |
| TuesdayStartTime | 

Type

time

Properties

Create, Filter, Nillable, Sort, Update

Description

Time that business opens.



 |
| WednesdayEndTime | 

Type

time

Properties

Create, Filter, Nillable, Sort, Update

Description

Time that business closes.



 |
| WednesdayStartTime | 

Type

time

Properties

Create, Filter, Nillable, Sort, Update

Description

Time that business opens.



 |

## Usage

Use this object to specify the business hours at which your support team operates. Escalation rules only run during the business hours with which they are associated. To set business hours to 24-hours a day, set the times from midnight to midnight (00:00:00 ~ 00:00:00) on each day.

By default, business hours are set from 12:00 AM to 12:00 AM in the default time zone specified in your organization's profile.

#### See Also

- [Overview of Salesforce Objects and Fields](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_concepts.htm "Salesforce objects and fields are analogous to database tables and the table columns. Objects and fields structure data. For example, the central object in the Salesforce data model represents accounts—companies and organizations involved with your business, such as customers, partners, and competitors.")