Skip to content
This guide & polyfill were created by FullCalendar

Temporal

The standards-compliant successor
to the JavaScript Date object

Use it now!
A polyfill is currently required. Learn more »
sh
npm i temporal-polyfill
sh
pnpm i -D temporal-polyfill
sh
yarn i temporal-polyfill
js
import 'temporal-polyfill/global'

console.log(
  Temporal.Now.zonedDateTimeISO().toString()
)
Native Support
Temporal is not yet natively supported in any major browser.
Data on support for the temporal feature across the major browsers from caniuse.com
About the Spec
The spec was written by the TC39 committee, started in 2019. It is currently in Stage 3, meaning browser implementors are at work. Read more about the spec »

The creators of this guide, who are also the creators of FullCalendar and temporal-polyfill, have made contributions to the spec, though are not affiliated with TC39.
For Package Authors
Want to use Temporal in your JavaScript package but don't want to be dependent on a polyfill? Take a look at the tree-shakeable API »
About this Guide
This quick-reference website is no substitute for the detailed TC39 docs nor forthcoming MDN docs. It focuses on practical matters such as polyfills and utilities.