Free online tools to generate, calculate,
convert, format, encode, and play.
 

Temporal Date Explorer

An interactive playground for the JavaScript Temporal API. Parse, compare, and format dates and durations, and see the equivalent Temporal code for every operation. Everything runs in your browser.


Parse & Inspect

Parses as you type.

Compare & Difference

-
Compares as you type.

Duration Math

Examples: Calculates as you type.

Format

Formats as you type.

How It Works

The Temporal API is a modern replacement for JavaScript's error-prone Date object. It provides immutable, purpose-built types with a clear separation between wall-clock time, instants, and durations.

Core Types
  • Temporal.PlainDate — a calendar date with no time or zone (2026-07-17)
  • Temporal.PlainDateTime — a date and wall-clock time, no zone
  • Temporal.ZonedDateTime — a date-time anchored to a time zone
  • Temporal.Instant — a fixed point on the global timeline
  • Temporal.Duration — a length of time (P1Y2M10DT2H30M)
Key Ideas
  • Immutable — methods like .add() return a new object; the original never changes
  • ISO 8601 — strings parse and serialize in a strict, unambiguous format
  • Explicit units.until() and .since() take a largestUnit so results are predictable
  • Rich fieldsdayOfWeek, dayOfYear, weekOfYear, daysInMonth, and more are built in

Note on browser support: Temporal is a Stage 3 TC39 proposal shipping across browsers. This playground computes results with the widely-available Date and Intl APIs and shows you the exact Temporal code that produces the same result, so you can copy it straight into a Temporal-enabled runtime.


Embed This Util

You can embed this util on your own site as a widget. Adding ?embed=1 to the URL loads a compact version with just the tool itself; no header, menu, or documentation. Paste this snippet into your HTML:


    

Copy snippet Adjust the height to taste.



Feedback

Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.


Share with