How to format JavaScript date and time with Intl.DateFormat

Daminda Dinesh Imaduwa Gamage
4 min readJan 20, 2023
Photo by Jan Sents on Unsplash

Intl Object in JavaScript

Intl ( internationalization )is an in-built Object in JavaScript for language-sensitive formatting. It includes constructors for formatting strings, lists, numbers, and dates and times. In this post, I am going to talk about JavaScript date and time formatting with Intl.DateTimeFormat() constructor.

--

--