Datetime
Date and time utilities with timezone support. Parse, format, add/subtract time, and check business hours.
Actions
| Name | Description |
|---|---|
parse_dateParse a date string and extract date components (year, month, day, hour, minute, second, timestamp). | Parse a date string and extract date components (year, month, day, hour, minute, second, timestamp). |
format_dateFormat a date using preset formats (ISO, US, EU, long, short, time, datetime, relative) with timezone support. | Format a date using preset formats (ISO, US, EU, long, short, time, datetime, relative) with timezone support. |
date_mathAdd or subtract time from a date (supports seconds, minutes, hours, days, weeks, months, years). | Add or subtract time from a date (supports seconds, minutes, hours, days, weeks, months, years). |
is_business_hoursCheck if a date falls within business hours. Configurable work days and hours. | Check if a date falls within business hours. Configurable work days and hours. |
Quick Start
import { WeavzClient } from '@weavz/sdk'
const weavz = new WeavzClient({ apiKey: 'wvz_...' })
const result = await weavz.actions.execute({
integrationName: 'datetime',
actionName: 'parse_date',
input: { /* ... */ },
connectionId: 'conn_id',
workspaceId: 'ws_id',
})Related Integrations
Works well with
Frequently Asked Questions
How do I connect Datetime to my app?
Use Weavz Hosted Connect for No Auth authentication. Install the SDK, create a connection through the connect portal or API, then execute actions programmatically.
What actions does Datetime support?
Datetime supports 4 actions including Parse Date, Format Date, Date Math, Is Business Hours.
Can I use Datetime with AI agents?
Yes. Add Datetime to an MCP server in TOOLS mode or CODE mode. CODE mode provides 80-98% context reduction with 3 meta-tools for efficient agent access.
What authentication does Datetime use?
Datetime uses No Auth. Weavz handles token management, refresh, and secure credential storage automatically.
How much does the Datetime integration cost?
The Datetime integration is included on all Weavz plans including the free tier with 1,000 actions per month. No credit card required.
Connect Datetime in 2 minutes
Get 1,000 free actions every month. No credit card required.