TLDR · PROGRAMMING, DESIGN & DATA SCIENCE

JAVASCRIPT TEMPORAL IS COMING

developer.mozilla.org5 min read

Summary from the TLDR newsletter

JavaScript Temporal is a replacement for the Date object that makes date and time management reliable and predictable. It adds support for time zone and calendar representations and many methods for conversion, comparisons, computations, formatting, and more. JavaScript Temporal is starting to be shipped in experimental releases of browsers, making working with dates and times in JavaScript more simple. This post provides a quick overview of the new JavaScript object along with examples of how to implement it.