Answers for "Angular 2 convert date to string"

2

show timestamp as yyyy mm dd html angular

{{date  | date:'yyyy-MM-dd'}}
Posted by: Guest on February-17-2020
0

show timestamp as yyyy mm dd html angular

import { DatePipe } from '@angular/common'
...
providers: [DatePipe]
Posted by: Guest on February-17-2020

Browse Popular Code Answers by Language