⏰
Execute Time Arithmetic
Category: Time Operations
TIME ARITHMETIC: Execute precise date/time math with business rules. Supports operations: add, subtract, set_time, set_date. Handles business_days with regional holiday calendars. Returns step-by-step execution trace with deterministic hashing.
Parameters
starting_timestringRequiredISO 8601 datetime string (e.g., '2024-12-09T15:30:00-05:00')
operationsarrayRequiredArray of operations to execute in sequence
timezonestringOptionalIANA timezone (e.g., 'America/New_York')
region_for_holidaysstringOptionalISO country code for business day holidays (e.g., 'US')
Returns
result:Final datetime after operationssteps:Step-by-step tracehash:Deterministic hash for reproducibilityExample
execute_time_arithmetic(starting_time='2024-12-09T15:30:00', operations=[{op: 'add', unit: 'days', value: 5}])Try It Now
This tool is available in the Vreme MCP server. Install via:
npx -y @vreme/temporal-mcp
Or add to your Claude Desktop, VS Code, Continue, or Cline configuration. See installation guide.