Format a Date in Angular December 6, 2018 To format a date in an Angular template, use the date pipe. For example, the following code formats the date to short date format by default. {{ dateObject | date:’