I am trying to change just the UTC time and date format which I am receiving from backend.I tried datepipe to format the UTC time but it automatically converting the time to my local browser time. I want to show the same time which the backend sends.
I tried like below.
time = this.datepipe.transform(result.time,"yyyy-MM-dd hh:mm:ss" "UTC")