FrontendDeveloper.in

ECMAScript Track Detail

Temporal API

The Temporal API is a modern API for working with dates and times, used to supersede the original Date API. It provides a more comprehensive and user-friendly way to handle date and time manipulation.

It contains the following core objects,

  1. Temporal.PlainDate
  2. Temporal.PlainTime
  3. Temporal.PlainDateTime
  4. Temporal.PlainYearMonth
  5. Temporal.PlainMonthDay
  6. Temporal.ZonedDateTime