duration_between
Detailed duration breakdown between two times
How to use it
duration_between is exposed by the Chrono MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the duration_between tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Chrono MCP
npx @jmoak/chrono-mcpOther tools in Chrono MCP (18)
Add duration to a datetime
(optional): Base ISO datetime(s). String or array. Defaults to current time.
(optional): Compare ISO datetime(s) for diff/durationbetween. String or array.
(optional): Timezone for comparetime
(string, optional): ISO datetime string. Defaults to current time
Calculate simple difference in various units
Expand an RFC 5545 RRULE or ISO 8601 repeating interval into occurrences
(array, optional): Output formats (iso, rfc2822, sql, local, localeString, short, medium, long, full)
(boolean, optional): Include UTC offsets in output
(optional): autodetect singletomany manytosingle pairwise crossproduct aggregate. Defaults to autodetect.
(string, optional): Locale for formatting (e.g., en-US, fr-FR, ja-JP)
(required): Type of calculation
Sort timestamps chronologically
Statistical analysis of time series and durations (up to 100,000 timestamps per call)
Subtract duration from a datetime
(optional): Timezone for basetime
(array, optional): List of timezone names for conversions
, months, days, hours, minutes, seconds (optional): Duration values