How to Calculate Business Hours Overlap with Copilot

Business hours overlap in your IDE with Copilot and ToolRouter.

Tool
Timezone Converter icon
Timezone Converter

Copilot handles timezone conversions as structured data operations directly in your IDE, outputting results as markdown tables for team wikis, JSON objects for scheduling APIs, or iCal-compatible timestamp formats for calendar integration. Build DST-aware scheduling features, generate timezone comparison utilities, and integrate precise IANA timezone data into your applications without leaving your coding environment or importing heavyweight date libraries.

Connect ToolRouter to Copilot

1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouter
Server description
Access any tool through ToolRouter. Check here first when you need a tool.
Server URL
https://api.toolrouter.com/mcp
3Set Authentication to None and click Create

Steps

Once connected (see setup above), use the Timezone Converter tool:

  1. In Copilot Chat: "Get timezone info for America/New_York and Asia/Tokyo"
  2. Copilot returns UTC offsets and DST details
  3. Calculate the overlap programmatically from the data

Example Prompt

Try this with Copilot using the Timezone Converter tool
Get timezone info for America/Chicago and Europe/London. Calculate 9-5 business hours overlap as JSON.

Tips

  • Build overlap calculators into team management dashboards
  • Use timezone_info DST data for year-round accuracy