-2

I am trying to display a particular date in a certain format. E.g '24 September 2019'. How would I go about doing that using pipes in Angular?

Angular version 7

Thanks

Eddy_Kay
  • 67
  • 7
  • 1
    Possible duplicate of [Angular 4 date pipe, no timezone](https://stackoverflow.com/questions/48641481/angular-4-date-pipe-no-timezone) –  Feb 10 '19 at 13:56
  • 1
    Or https://stackoverflow.com/questions/35754586/format-date-as-dd-mm-yyyy-using-pipes –  Feb 10 '19 at 13:57
  • 3
    Possible duplicate of [Format date as dd/MM/yyyy using pipes](https://stackoverflow.com/questions/35754586/format-date-as-dd-mm-yyyy-using-pipes) – HDJEMAI Feb 10 '19 at 14:14

1 Answers1

2

It should be something like this, you could refer the documentation here

<div>{{ today | date : 'd MMMM yyyy' }} </div>
Sajeetharan
  • 216,225
  • 63
  • 350
  • 396