Datetime

Datetime

Date and time utilities with timezone support. Parse, format, add/subtract time, and check business hours.

4 actions

Actions

Name
parse_date

Parse a date string and extract date components (year, month, day, hour, minute, second, timestamp).

format_date

Format a date using preset formats (ISO, US, EU, long, short, time, datetime, relative) with timezone support.

date_math

Add or subtract time from a date (supports seconds, minutes, hours, days, weeks, months, years).

is_business_hours

Check if a date falls within business hours. Configurable work days and hours.

Quick Start

TypeScript
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?

Datetime does not require an external account connection. Install the SDK, add the integration to a workspace, 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 3 meta-tools with on-demand API discovery for efficient agent access.

What authentication does Datetime use?

Datetime does not require external authentication.

How much does the Datetime integration cost?

The Datetime integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.

Connect Datetime in minutes

Get 1,000 free actions every month. No credit card required.