Skip to main content
The Date & Time connector provides operations for working with dates and times: formatting, parsing, timezone conversion, arithmetic, and comparisons.
No connection required; this utility connector works out of the box.

Tools

string
Timezone (e.g., America/New_York). Defaults to UTC.
string
Output format. Defaults to ISO 8601.
Example request:
Example response:
string
required
Date to format (ISO 8601, Unix timestamp, or parseable string).
string
required
Output format string (e.g., YYYY-MM-DD HH:mm:ss, DD/MM/YYYY).
string
Convert to timezone before formatting.
Example request:
Example response:
Parse a date string to ISO 8601 format.
string
required
Date string to parse.
string
Expected input format (e.g., MM/DD/YYYY).
string
Timezone to interpret the date in. Defaults to UTC.
Example request:
Example response:
string
required
Starting date.
number
required
Amount to add (can be negative).
string
required
Unit: year, month, week, day, hour, minute, second, or millisecond.
Example request:
Example response:
string
required
Starting date.
number
required
Amount to subtract.
string
required
Unit: year, month, week, day, hour, minute, second, or millisecond.
Example request:
Example response:
string
required
First date.
string
required
Second date.
string
default:"day"
Unit for the result.
boolean
default:"false"
Return decimal value.
Example request:
Example response:
string
required
Date to convert.
string
Source timezone.
string
required
Target timezone.
string
Output format.
Example request:
Example response:
Get the start of a year, month, week, day, hour, minute, or second.
string
required
Reference date.
string
required
Unit: year, month, week, day, hour, minute, or second.
Example request:
Example response:
Get the end of a year, month, week, day, hour, minute, or second.
string
required
Reference date.
string
required
Unit: year, month, week, day, hour, minute, or second.
Example request:
Example response:
string
required
Date to check.
string
required
Date to compare against.
string
Comparison granularity.
Example request:
Example response:
string
required
Date to check.
string
required
Date to compare against.
string
Comparison granularity.
Example request:
Example response:
string
required
Date to check.
string
required
Start of range.
string
required
End of range.
string
Comparison granularity.
string
default:"()"
Boundary inclusivity: (), [], [), or (].
Example request:
Example response:
Returns strings like “2 hours ago” or “in 3 days”.
string
required
Date to format.
string
Reference date (defaults to now).
boolean
default:"false"
Omit “ago” or “in” prefix/suffix.
Example request:
Example response:
Extract year, month, day, hour, minute, second, etc.
string
required
Date to extract from.
string
Timezone for extraction.
Example request:
Example response:
string | number
required
Date string or Unix timestamp.
boolean
default:"true"
true = date to timestamp, false = timestamp to date.
boolean
default:"false"
Use milliseconds instead of seconds.
Example request:
Example response:
Returns a list of common timezone identifiers. No parameters required.Example request:
Example response: