Name
Date.toLocaleDateString( ): return the date portion of a Date as a locally formatted string â ECMAScript v3
Synopsis
date
.toLocaleDateString( )
Returns
An implementation-dependent, human-readable string
representation of the date portion of
date
, expressed in the local time zone
and formatted according to local conventions.
See Also
Date.toDateString( )
,
Date.toLocaleString( )
, Date.toLocaleTimeString( )
, Date.toString( )
, Date.toTimeString( )
Get JavaScript: The Definitive Guide, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.