Now in Public Beta

Build software that
understands time

Duration Labs provides developer tools, APIs, and infrastructure for building time-aware applications — from scheduling to analytics to real-time coordination.

// Define a time window
import { Duration, Window } from '@durationlabs/sdk';

const shift = new Window({
  start: '2026-06-01T09:00:00Z',
  duration: Duration.hours(8),
  timezone: 'Europe/Berlin',
});

const overlaps = await shift.overlapsWith(calendar);
// → false — you're clear to schedule

Everything you need to reason about time

A complete toolkit for developers who need precision, reliability, and simplicity when working with temporal data.

Temporal Primitives

Durations, intervals, windows, and ranges as first-class types. Compose, compare, and transform time values without boilerplate.

Scheduling Engine

Resolve conflicts, find free windows, and handle recurring events across timezones with a single API call.

Time-Series Analytics

Ingest, aggregate, and query temporal data streams with sub-second latency. Built for dashboards and monitoring.

Timezone-Native

Every operation is timezone-aware by default. No more `Z` vs local confusion. IANA database backed.

Type-Safe SDK

Full TypeScript support with exhaustive types. Catch temporal bugs at compile time, not in production.

Event Coordination

Coordinate distributed events with causal ordering, vector clocks, and wall-clock reconciliation.

From idea to production in minutes

Three steps to add time-aware capabilities to any application.

01

Install the SDK

Add our lightweight SDK to your project. Zero dependencies, tree-shakeable, runs everywhere — Node, Deno, edge, browser.

02

Define Your Temporal Model

Declare schedules, windows, and constraints using our declarative API. Type-safe, timezone-aware, conflict-free.

03

Ship With Confidence

Deploy with built-in observability, automatic DST handling, and high-availability SLA. Focus on your product, not edge cases.

<50ms
P95 API Latency
99.9%
Uptime SLA
2K+
Active Developers
0
Dependencies

Start building with
time-aware tools today

Free tier includes 10K API calls/month. No credit card required. Deploy your first temporal app in under 5 minutes.