Calendar Days counters deduct all days in a leave period, working or not, and have two variants that differ only in how they handle the date range.
Overview
Calendar Days counters deduct all days within a leave period, including weekends and non-working days. Both variants—Calendar Days (Contract) and Calendar Days (Work Schedule)—share the same day-by-day logic, but differ in how they handle the leave period boundaries.
These counters ignore shift management for day counting, but rely on the employee's work schedule for hours calculation.
When and why it should be used
Use Calendar Days when you want to ensure that all days within a leave period count toward the balance, regardless of the employee’s shift pattern or weekly rest days.
Choose between the two variants, depending on whether your organisation wants to leave to automatically extend to include non-working days or stay strictly within the selected date range.
How to Use
Follow the steps below to understand how Calendar Days counters calculate leave:
- Select the leave request dates: Choose the start and end date for the absence.
-
Determine the Calendar Days variant:
- Contract: Extends the leave period beyond the selected end date to include consecutive non-working days.
- Work Schedule: Counts only the exact date range, without extensions.
-
For each day in the counted range:
- Check whether it is a company holiday.
- If it is a non-workable holiday, it counts as 0.0 days and 0.0 hours.
- If it is workable or a regular day, determine whether the leave is full day or half day:
- Full day → 1.0 day deducted with full work-schedule hours
- Half day → 0.5 day deducted with half of work-schedule hours
-
Calculate daily hours: Hours are taken from the employee’s work schedule calendar, following this fallback chain:
Shift Management → Work Schedule → Contract - Final balance deduction: Total days and hours are deducted from the employee’s leave balance.
How many days will be deducted?
All days within the calculated date range will be deducted, including:
Days that will be deducted:
- Working days (Monday-Friday) → 1 full day deducted (always counted in calendar days)
- Weekends (Saturday-Sunday) → 1 full day deducted (always counted in calendar days)
- Company holidays (when configured to count holidays as working days) → 1 full day deducted
- Half day leaves → 0.5 days deducted (regardless of day type)
Range Differences:
- Calendar Days - Contract: May include additional non-working days at the end of the leave period
- Calendar Days - Work Schedule: Only includes days within the specified date range
Which days won't be deducted?
Only company holidays when configured as non-workable will NOT be deducted:
Days that won't be deducted:
- Company holidays (when the company is configured to NOT count holidays as working days) → 0 days deducted
Why other days are always deducted:
- Weekends: Always counted because calendar days include all days in the period
- Working days: Always counted because calendar days include all days in the period
- Shift management rest days: Always counted because calendar days ignore shift management logic
How many hours will be counted by day of absence?
Hours are calculated using the work schedule calendar fallback chain, which considers:
- Shift Management (if active) → Uses shift management hours
- Work Schedule (if assigned) → Uses work schedule hours
- Contract (fallback) → Uses contract hours
Hours by day type:
- Full day leaves → Full hours from work schedule calendar (e.g., 8 hours)
- Half day leaves → Half hours from work schedule calendar (e.g., 4 hours)
- Day offs → 0 hours
Both variants use identical hours calculation logic.
How do the two variants differ from each other and other counters?
| Counter | Range Behavior | Day Logic | Hours Source | Range Extension |
| Calendar Days - Contract | Extends to include non-working days at end | All days count | Work schedule calendar fallback | ✅ Extends to include non-working days at end |
| Calendar Days - Work Schedule | Strict range only | All days count | Work schedule calendar fallback | ❌ Strict range only |
| Working Days - Contract | Strict range only | Only working days count | Work schedule calendar fallback | ❌ Strict range only |
| Working Days - Work Schedule | Strict range only | Work schedule logic | Work schedule calendar fallback | ❌ Strict range only |
Special Cases
Range Extension (Calendar Days - Contract Only)
Calendar Days - Contract extends the leave period to include non-working days at the end. This means:
- If a leave ends on Friday, the following weekend (Sat-Sun) is included
- If a leave ends before a company holiday, that holiday may be included
- The extension continues until the next working day
Range Extension Behavior
Calendar Days - Contract: Extends leave period to include non-working days at the end (weekends, holidays, rest days) Calendar Days - Work Schedule: Strict range - no extensions beyond specified end date
Example: Leave ending Friday, Monday is a holiday
- Contract: Extends to include Monday (holiday) → 6 days deducted
- Work Schedule: No extension → 5 days deducted
Range Limitation (Calendar Days - Work Schedule Only)
Calendar Days - Work Schedule respects exact date boundaries:
- If a leave ends on Friday, the weekend is NOT included
- No automatic extensions beyond the user-specified end date
- Provides precise control over leave period boundaries
Company Holiday Configuration (Both Variants)
- Workable holidays: Count as full days (1.0) with full contract hours
- Non-workable holidays: Count as day off (0.0) with 0 hours
- Half day leaves on workable holidays: Count as half days (0.5) with half contract hours