Tanggal Baru dalam Sudut Interpolasi

// create a method in .ts file
convertDate(date){
  return new Date(date+' UTC');//convert UTC time to Local time
}

//call the above function from .html file
{{convertDate(item.CreatedOn) | date:'medium'}}
Joyous Jellyfish