Skip to main content
Glama

datetime_add_duration

Add or subtract specified time intervals (days, hours, minutes, seconds) from a given datetime to calculate new dates and times for scheduling, deadlines, or time-based calculations.

Instructions

[datetime] Add (or subtract) a duration to a datetime.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dt_strYes
daysNo
hoursNo
minutesNo
secondsNo
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/0-co/agent-friend'

If you have feedback or need assistance with the MCP directory API, please join our Discord server