Create a business calendar span using a Script includes
You can generate business calendar spans and their names using the Script includes titled BusinessCalendarGeneratorUtil. The calendars you create are accessible across both global and scoped applications.
Before you begin
Role required: admin
Procedure
-
Access the BusinessCalendarGeneratorUtil script.
-
Navigate to All and search
Script Includes. -
Select the
Script Includesoption listed under System UI. -
Type
BusinessCalendarGeneratorUtilin the search bar near the top of the form, and press enter or return on your keyboard. -
Select
BusinessCalendarGeneratorUtil.
-
-
Set options such as the scope of the script and who can call it (Client callable or Mobile callable), whether it’s Sandbox enabled, and the description of the script, at the beginning of the form.
-
Modify the description of the script as needed.
-
Enter the necessary values where you see placeholders for
calendarId,spanName,start,end,longName, andshortName.[Omitted image "BusinessCalendarGeneratorUtilScript.png"] Alt text: Form the Script includes that it titled, BusinessCalendarGeneratorUtil
-
Select Update to save changes.
Result
A business calendar span script includes is created. The year is appended to the beginning of the display name from the longName field.
Parent Topic:Creating business calendars
Related topics
---
title: Create a business calendar span using a Script includes
description: You can generate business calendar spans and their names using the Script includes titled BusinessCalendarGeneratorUtil. The calendars you create are accessible across both global and scoped applications.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/platform-administration/time-configuration/create-a-business-calendar-span-using-a-script-includes.html
release: brazil
product: Time Configuration
classification: time-configuration
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Creating business calendars, Use, Time configuration, Configure core features, Administer the ServiceNow AI Platform]
---
# Create a business calendar span using a Script includes
You can generate business calendar spans and their names using the **Script includes** titled **BusinessCalendarGeneratorUtil**. The calendars you create are accessible across both global and scoped applications.
## Before you begin
Role required: admin
## Procedure
1. Access the **BusinessCalendarGeneratorUtil** script.
1. Navigate to **All** and search `Script Includes`.
2. Select the `Script Includes` option listed under **System UI**.
3. Type `BusinessCalendarGeneratorUtil` in the search bar near the top of the form, and press **enter** or **return** on your keyboard.
4. Select `BusinessCalendarGeneratorUtil`.
2. Set options such as the scope of the script and who can call it \(**Client callable** or **Mobile callable**\), whether it’s **Sandbox enabled**, and the description of the script, at the beginning of the form.
3. Modify the description of the script as needed.
4. Enter the necessary values where you see placeholders for `calendarId`, `spanName`, `start`, `end`, `longName`, and `shortName`.
\[Omitted image "BusinessCalendarGeneratorUtilScript.png"\] Alt text: Form the Script includes that it titled, BusinessCalendarGeneratorUtil
5. Select **Update** to save changes.
## Result
A business calendar span script includes is created. The year is appended to the beginning of the display name from the `longName` field.
**Parent Topic:**[Creating business calendars](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-administration/time-configuration/business-calendars.md)
**Related topics**
[Script includes](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/api-reference/scripts/c_ScriptIncludes.md)
| title | Create a business calendar span using a Script includes |
| description | You can generate business calendar spans and their names using the Script includes titled BusinessCalendarGeneratorUtil. The calendars you create are accessible across both global and scoped applications. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/platform-administration/time-configuration/create-a-business-calendar-span-using-a-script-includes.html |
| release | brazil |
| product | Time Configuration |
| classification | time-configuration |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Creating business calendarsUseTime configurationConfigure core featuresAdminister the ServiceNow AI Platform |