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