Calculates dates by adding business days (weekdays only) to any starting date, automatically skipping weekends. Use via MCP in Cursor or Windsurf for date arithmetic in scheduling workflows, or call GET /v1/time/add-business-days directly. Perfect for project timelines, SLA calculations, and delivery estimates where weekends don't count.
curl "https://tinyfn.io/v1/time/add-business-days" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/time/add-business-days', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/time/add-business-days',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's time/timezone tools:
{
"mcpServers": {
"tinyfn-time": {
"url": "https://tinyfn.io/mcp/time",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
It skips weekends automatically but doesn't account for holidays by default. Only Saturday and Sunday are excluded from the business day count.
Yes, use negative values to subtract business days. For example, -5 business days from Friday gives you the previous Friday.
Accepts ISO 8601 format (YYYY-MM-DD) and common formats like MM/DD/YYYY. Returns dates in ISO format for consistency.
In Cursor or Claude Code, specify your start date and business day count. Great for calculating delivery dates, sprint planning, and SLA deadlines that exclude weekends.
The calculation treats weekend start dates as the next Monday, then adds your specified business days from that point forward.
Get your free API key and start using Add Business Days in seconds.
Get Free API Key