DEV Community

loading...

Discussion on: Format Current Time 🕰️

Collapse
konradlinkowski profile image
Konrad Linkowski

You should rather use Intl instead

Collapse
codefinity profile image
Manav Misra Author

That works too...not really sure what would be the benefit.

Collapse
konradlinkowski profile image
Konrad Linkowski

developer.mozilla.org/en-US/docs/W...
Intl is the new optimized API where Date objects starts to be a little obsolete.