long to date angular {{ code example
Example 1: show timestamp as yyyy mm dd html angular
{{date | date:'yyyy-MM-dd'}}
Example 2: show timestamp as yyyy mm dd html angular
import { DatePipe } from '@angular/common'
...
providers: [DatePipe]
{{date | date:'yyyy-MM-dd'}}
import { DatePipe } from '@angular/common'
...
providers: [DatePipe]