Calculator
Example data
Sample scenarios demonstrating calendar and business day shifts.
| # | Start date | Shift | Mode | Result date | Weekday |
|---|
Formula used
Calendar days: result = start_date + N days using proleptic Gregorian arithmetic. If N is negative the iterator moves backward one day per step.
Business days: iterate one step at a time changing the cursor by +1 or −1 day while skipping Saturdays Sundays and any date found in the provided holiday set until |steps| = |N|.
All computations are anchored in UTC to avoid daylight saving anomalies; the display is formatted in the selected timezone with Intl.DateTimeFormat.
How to use
- Enter a start date.
- Type an integer for days to add or subtract.
- Choose counting mode and optionally list holidays.
- Select your preferred timezone for the formatted output.
- Press Calculate to see the result date and weekday.
- Use Download CSV to export the current result row.
- Use Download PDF to open the print dialog and save as PDF.
Tip: business mode is ideal for schedules contracts and SLAs where weekends are not counted.