This content originally appeared on 2ality – JavaScript and more and was authored by Dr. Axel Rauschmayer
Date
, JavaScript’s current date time API is infamously difficult to use. The ECMAScript proposal “Temporal” is a new and better date time API and currently at stage 3. It was created by Philipp Dunkel, Maggie Johnson-Pint, Matt Johnson-Pint, Brian Terlson, Shane Carr, Ujjwal Sharma, Philip Chimento, Jason Williams, and Justin Grant.
This blog post has two goals:
- Give you a feeling for how Temporal works
- Help you get started with it
However, it is not an exhaustive documentation: For many details, you will have to consult the (excellent) documentation for Temporal.
Warning: These are my first explorations of this API – feedback welcome!
This content originally appeared on 2ality – JavaScript and more and was authored by Dr. Axel Rauschmayer
Dr. Axel Rauschmayer | Sciencx (2021-06-28T00:00:00+00:00) Temporal: getting started with JavaScript’s new date time API. Retrieved from https://www.scien.cx/2021/06/28/temporal-getting-started-with-javascripts-new-date-time-api/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.