ng template date format code example Example: show timestamp as yyyy mm dd html angular {{date | date:'yyyy-MM-dd'}}