JavaScript Temporal is Coming

Chris Coyier Chris Coyier on

Brian Smith on MDN:

This is big news for web developers because working with dates and times in JavaScript will be hugely simplified and modernized.

Temporal is designed as a full replacement for the Date object, making date and time management reliable and predictable. Temporal adds support for time zone and calendar representations, many built-in methods for conversions, comparisons and computations, formatting, and more.

Over 200 utility methods! (Good blog post from Iago Lastra.)

To help you get up to speed, there are over 270 pages of Temporal docs on MDN added this week, with detailed explanations and examples.

Coming when? I can’t tell you, but I do find it notable that there are experimental implementations already and that all three (Firefox/Safari/Chrome) are actively working on it.

Need front-end development training?

Frontend Masters logo

Frontend Masters is the best place to grow in your career as a developer. We have courses on all the most important front-end technologies and beyond, from React to CSS, to backend with Node.js and Full Stack.

7-Day Free Trial

Leave a Reply

Your email address will not be published. Required fields are marked *

Did you know?

Frontend Masters Donates to open source projects. $363,806 contributed to date.