DEV Community

Discussion on: Handling Dates in JavaScript

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Open your console and type Intl you might find some very useful date formatting power in this API as well as a bunch of other good stuff.

Collapse
 
aumayeung profile image
John Au-Yeung

There's actually a lot of features for internationalization un JavaScript, like sorting strings in a locale-sensitive manner, formatting numbers, plurals, lists, and showing relative time.

Dates are just the beginning.

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

I like the currency section of this API, fantasticly under utilized though 😅

Thread Thread
 
aumayeung profile image
John Au-Yeung

Yea. I only discovered it on MDN when I'm writing about it.