How to calculate no of business days between two date?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
10-19-2023 07:44 AM
Hi Team,
could you please help to find number of business days between two dates in ServiceNow?

- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
10-19-2023 08:29 PM
Open that record and check if you have schedule entries like below
Harish
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
10-19-2023 08:35 PM
Yes, i checked both 8A.M to 5P.M and 9A.M to 7P.M.

- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
10-19-2023 08:37 PM
Can you run the below script via background script and check
Harish
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
10-19-2023 08:44 PM
Output is 7 00:00:00. if using same schedule and code. could you please guide what wrong going with my schedule?

- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
10-19-2023 08:50 PM
I would suggest compare with OOB schedule and find the difference
Harish