Skip to content

Commit dce681e

Browse files
authored
Create README.md
1 parent cc47c53 commit dce681e

File tree

1 file changed

+19
-0
lines changed
  • Core ServiceNow APIs/GlideAjax/Check Weekend - Client Side

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
2+
# ServiceNow Weekend Checker (Client-Side Utility)
3+
4+
A reusable client-side script to detect weekends (Saturday/Sunday) and modify ServiceNow form behaviour accordingly.
5+
6+
# Overview
7+
8+
This project contains a simple, reusable utility for determining if the current date (based on the user’s browser timezone) falls on a weekend.
9+
It’s ideal for Client Scripts, Catalog Client Scripts, or Service Portal widgets.
10+
11+
# Features
12+
13+
- ✅ Lightweight — no dependencies
14+
- ✅ Works across all client script contexts
15+
- ✅ Includes helper method for automatic info messages
16+
17+
## ⚙️ Usage
18+
Create the Script Include present in the WeekendChecker.js file
19+
Use the Client-Side Script to call GlideAjax and determine if the day/date is a weekend or not.

0 commit comments

Comments
 (0)