Visitar URL original
formatDate • Angular
The Wayback Machine - https://web.archive.org/web/20260129233129/https://angular.dev/api/common/formatDate
    • Overview
@angular/common

formatDate

function
stable

Formats a date according to locale rules.

API

function formatDate(  value: string | number | Date,  format: string,  locale: string,  timezone?: string | undefined,): string;

Description

Formats a date according to locale rules.


Exported by

Jump to details