date pipe in html angular code example Example: show timestamp as yyyy mm dd html angular {{date | date:'yyyy-MM-dd'}}