JavaScript Date_format Guide
Formatting dates with toLocaleDateString, Intl.DateTimeFormat, and manual formatting for custom date displays. The guide walks through Date Formatting. `date.toLocaleDateString("en-US")` — "6/8/2026". `date.toLocaleDateString("en-GB")` — "08/06/2026". `Intl.DateTimeFormat("en-US", {weekday:"long", year:"numeric", month:"long", day:"numeric"}).format(date)` — "Monday, June 8, 2026". `date.toISOString()` — "2026-06-08T14:30:00.000Z". `date.toDateString()` — "Mon Jun 08 2026". The guide is organized into 1 sections that build on each other, each pairing a prose explanation with runnable code. Related guides: Arrays, Strings, Numbers, Math, Date. This is one of 145 JavaScript guides on JS Reference — see the full list on the guides page. Practice what you learn in the JavaScript playground, and look up any unfamiliar term in the JavaScript glossary.