Name

Date.toLocaleDateString() — Gibt den Datumsteil eines Date-Objekts als String im ortsüblichen Format ausorm:availability:

Überblick

date.toLocaleDateString()

Rückgabewert

Eine implementierungsabhängige, für Menschen lesbare Darstellung des Datumsteils von date in Ortszeit und im ortsüblichen Format.

Get JavaScript: Das umfassende Referenzwerk, Sixth 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.