DatePipe

Stable

Pipe

What it does

Formats a date according to locale rules.

How to use

date_expression | date[:format]

NgModule

Description

exported from @angular/common/index defined in @angular/common/src/pipes/date_pipe.ts